Versions in this module Expand all Collapse all v0 v0.1.0 Apr 4, 2024 Changes in this version + const Agent + const NatsLongTimeout + const NatsTimeout + var Config Configuration + var ErrConnected = errors.New("network connected") + var ErrNetNotMapped = errors.New("network not mapped to server") + func ConnectToAgentBroker() (*nats.EncodedConn, error) + func Run() + type Configuration struct + NatsPort int + Verbosity string + type Device struct + Seed string + Server string + WGPrivateKey string + type LeaveServerRequest struct + Force bool + type Network struct + Interface string + InterfaceSuffix int + ListenPort int + PublicListenPort int + type StatusResponse struct + Connected bool + Networks []Network + Server string