Run gofmt

This commit is contained in:
Tulir Asokan
2022-08-15 16:50:52 +03:00
parent 1ced229be9
commit 2055d32da8
2 changed files with 20 additions and 20 deletions

View File

@@ -10,9 +10,9 @@ type clientPacket interface {
send(client *Client) error
}
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
// Heartbeat
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
type clientHeartbeat struct {
OP string `json:"op"`
}
@@ -29,9 +29,9 @@ func (h *clientHeartbeat) send(client *Client) error {
return client.write(h)
}
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
// Init
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
type clientInit struct {
OP string `json:"op"`
EncodedPublicKey string `json:"encoded_public_key"`
@@ -52,9 +52,9 @@ func (i *clientInit) send(client *Client) error {
return client.write(i)
}
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
// NonceProof
///////////////////////////////////////////////////////////////////////////////
// /////////////////////////////////////////////////////////////////////////////
type clientNonceProof struct {
OP string `json:"op"`
Proof string `json:"proof"`