package
0.1.1
Repository: https://github.com/bitmaelum/bitmaelum-suite.git
Documentation: pkg.go.dev

# Functions

CanonicalHost returns a given host in the form of http(s)://<host>:<port>.
GenerateJWTToken generates a JWT token with the address and singed by the given private key.
GetErrorFromResponse will return an error generated from the body.
IsJWTTokenExpired will check if the token is already expired.
NewAnonymous creates a new client that connects anonymously to a BitMaelum server (normally server-to-server communications).
NewAuthenticated creates a new client that connects to a BitMaelum Server with specific credentials (normally client-to-server communications).
NewClient creates a new client based on the given options.
ValidateJWTToken validates a JWT token with the given public key and address.

# Variables

Error codes.
Error codes.
Error codes.
Error codes.

# Structs

API is a structure to connect to the server for the given account.
ClientOpts allows you to configure the API client.
MailboxList is a list of mailboxes.
MailboxListBox is a structure that holds a given mailbox and the total messages inside.
MailboxMessages returns a list of mailbox messages.
MailboxMessagesMessage is a message (header + catalog) within a mailbox.
Message is a standard structure that returns a message header + catalog.
StoreEntry is the unencrypted store entry with child nodes if needed.