Documentation ¶
Index ¶
Constants ¶
View Source
const ( NatsTimeout = time.Second * 5 NatsLongTimeout = time.Second * 15 )
View Source
const Agent = "agent"
Variables ¶
View Source
var ( Config Configuration //errors ErrNetNotMapped = errors.New("network not mapped to server") ErrConnected = errors.New("network connected") )
Functions ¶
func ConnectToAgentBroker ¶
func ConnectToAgentBroker() (*nats.EncodedConn, error)
Types ¶
type Configuration ¶
type LeaveServerRequest ¶
type LeaveServerRequest struct {
Force bool
}
type StatusResponse ¶
Click to show internal directories.
Click to hide internal directories.