Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Socket string `toml:"socket"` PublicKeys []string `toml:"publickeys"` // Deprecated SocketPath string `toml:"socketPath"` PublicKeyPath string `toml:"publicKeyPath"` }
func LoadConfig ¶
type Constellation ¶
type Constellation struct {
// contains filtered or unexported fields
}
func MaybeNew ¶
func MaybeNew(configPath string) *Constellation
func MustNew ¶
func MustNew(configPath string) *Constellation
func New ¶
func New(configPath string) (*Constellation, error)
type ReceiveRequest ¶
type ReceiveResponse ¶
type ReceiveResponse struct {
Payload string `json:"payload"`
}
type SendRequest ¶
type SendResponse ¶
type SendResponse struct {
Key string `json:"key"`
}
Click to show internal directories.
Click to hide internal directories.