# Functions
IsRegistered check if a message type is registered.
IsRegisteredBytes is like IsRegistered but accepts a byte slice.
Marshal encodes NMDC message.
MarshalTo encodes NMDC message into a buffer.
NewMessage creates a new message by type name.
No description provided by the author
NewWriter creates a new NMDC protocol writer with a default buffer size.
NewWriterSize creates a new NMDC protocol writer with a specified buffer size.
NormalizeAddr parses and normalizes the address to scheme://host[:port] format.
ParseAddr parses an NMDC address as a URL.
RegisteredTypes list all registered message types.
RegisterMessage registers a new protocol message type.
No description provided by the author
Unmarshal decodes a single NMDC message from the buffer.
# Constants
Used by some clients to set a different icon.
Used by some clients to set a different icon.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultKeyMagic is a magic byte used in the C-H and C-C handshakes.
default port for client-hub connections.
Delimiter of the NMDC protocol.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
proposals.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
list of known extensions.
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
No description provided by the author
URL scheme for NMDC protocol.
URL scheme for NMDC-over-TLS protocol.
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
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
BotINFO is sent by the pinger to the hub to get a HubINFO.
BotList is a list of bots on the hub.
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
No description provided by the author
GetNickList is sent by the client to the hub to retrieve a list of online users.
No description provided by the author
No description provided by the author
No description provided by the author
HubINFO is a detailed hub information exposed only after receiving BotINFO.
No description provided by the author
No description provided by the author
No description provided by the author
Key is a response to a pseudo-cryptographic challenge represented by Lock.
No description provided by the author
Lock is a pseudo-cryptographic challenge sent by the server to the client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MyNick is sent in C-C connections for clients to be able to identify each other.
No description provided by the author
NoArgs is an embeddable type for protocol commands with no arguments.
OpList is a list of hub operators.
No description provided by the author
Quit is a notification about user quiting the hub.
RawMessage is a raw NMDC message in the connection encoding.
Reader is not safe for concurrent use.
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
Supports command lists extensions supported by the peer.
TTHSearchActive is added by TTHS extension.
TTHSearchPassive is added by TTHS extension.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateNick is sent from the client to the hub as a request to enter with a specific user name.
No description provided by the author
Writer is protocol message writer for NMDC protocol.
No description provided by the author
# Interfaces
Message is an interface for all NMDC protocol messages.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
Extensions is an unordered set of protocol extensions.
Name is a string encoded and decoded as a NMDC user name.
Names is a list of user names separated by '$$'.
String is a value type encoded and decoded as a NMDC string value.
these two aliases allows package users to omit x/text import.
these two aliases allows package users to omit x/text import.
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