Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ApiClient ¶
type ApiClient struct {
// contains filtered or unexported fields
}
func (*ApiClient) QueryPeers ¶
type PeerState ¶
type PeerState struct { ID disco.PeerID `json:"id"` Hostname string `json:"hostname"` IPv4 string `json:"ipv4"` IPv6 string `json:"ipv6"` Addrs []string `json:"addrs"` LastActiveTime time.Time `json:"last_active_time"` Mode string `json:"mode"` NAT string `json:"nat"` Version string `json:"version"` Labels disco.Labels `json:"labels"` }
Click to show internal directories.
Click to hide internal directories.