Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAlreadyExists error which indicates that entry already exists in stroe ErrAlreadyExists = errors.New("entry already exists in store") )
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct { ClientStore *ClientStore // contains filtered or unexported fields }
Broker ...
type ClientStore ¶
type ClientStore struct {
// contains filtered or unexported fields
}
ClientStore ...
type Config ¶
type Config struct { // Hostname of where broker should listen // // Default: "0.0.0.0" Hostname string // Port of where broker should listen // // Default: "997" Port uint32 // Ed25519 Private key // // Required PrivateKey ed25519.PrivateKey // Ed25519 Public key // // Required PublicKey ed25519.PublicKey }
Config ...
Click to show internal directories.
Click to hide internal directories.