package
0.0.0-20150429100916-a85fb9e47f3b
Repository: https://github.com/unixninja92/div-iii-server.git
Documentation: pkg.go.dev

# Constants

No description provided by the author
MaxSerializedMessage is the maximum size of the serialized Message protobuf.
No description provided by the author
No description provided by the author
MessageOverhead is the number of bytes reserved for wrapping a Message up in protobufs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HMAC_INCORRECT results from a delivery when the HMAC of the one-time public key doesn't validate.
HMAC_KEY_ALREADY_SET is returned in reply to a HMACSetup request if a different HMAC key has already been setup.
HMAC_NOT_SETUP results from a delivery attempt when the recipient hasn't configured an HMAC key.
HMAC_REVOKED results from a delivery when the HMAC value has been marked as revoked.
HMAC_USED results from a delivery when the HMAC value has already been used.
No description provided by the author
No description provided by the author
INCORRECT_GENERATION = 14;.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
REGISTRATION_DISABLED may be returned after a NewAccount request to indicate the the server doesn't accept new registrations.
No description provided by the author
TransportSize is the number of bytes that all payloads are padded to before sending on the network.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccountCreated is the reply to a NewAccount request.
AccountDetails contains the state of an account.
Delivery is a request from a client to deliver a message to an account on this server.
No description provided by the author
No description provided by the author
Fetch is a request to fetch a message.
Fetched is the reply to a Fetch request if the server has a message for delivery.
HMACPair contains a pair of Hmac values to be shared between clients.
HMACSetup can be sent by a client to establish an HMAC key if it didn't do so at account creation time.
HMACStrike is used by a client to record a number of HMAC values as used.
KeyExchange is a message sent between clients to establish a relation.
Message is typically contained within a NaCl box that's passed between clients using Delivery and Fetch.
No description provided by the author
No description provided by the author
NewAccount is a request that the client may send to the server to request a new account.
Reply is the server's reply to the client.
Request is the client's request to the server.
ServerAnnounce is a special type of reply to a Fetch request.
A SignedKeyExchange is a message that's sent between clients and exposed in the UI.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author