# Functions
DeleteAllMessages deletes all messages in all channels which expired on the given server.
NewChannel returns a new channel with the given channel ID, encryption and authentication key.
NewChannelFromConfigFile returns a new channel with the channel identifier and encryption key from the config file or nil if the config file does not exist.
NewChannelWithRandomKey returns a new channel with a random encryption key and identifier.
PullOldestMessage pulls the oldest message on the given channel from the given server.
PushMessage pushes the encryption of the given data as JSON to the given server.
# Constants
DefaultServer stores the default server.
DeleteAllMessagesCommand deletes all messages in all channels which expired.
Desktop is the endpoint that is connected to the BitBox.
Mobile is the endpoint that acts as a trusted screen.
PullFailedError is used to create an error in case the pull from the relay server fails.
PullOldestMessageCommand pulls the oldest message on the specified channel for the specified communication party.
PushMessageCommand pushes a message for the other communication party on the given channel.
ResponseTimeoutError is used to create an error in case the pull from the relay server times out.
# Structs
Channel implements an encrypted communication channel between the desktop and the paired mobile.