zerotier

package
v0.0.1-test2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Member

type Member struct {
	Id                  string                 `json:"id"`
	Hidden              bool                   `json:"hidden"`
	Clock               int64                  `json:"clock"`
	NetworkId           string                 `json:"networkId"`
	NodeId              string                 `json:"nodeId"`
	ControllerId        string                 `json:"controllerId"`
	Name                string                 `json:"name"`
	Description         string                 `json:"description"`
	Config              map[string]interface{} `json:"config"`
	LastOnline          int64                  `json:"lastOnline"`
	PhysicalAddress     string                 `json:"physicalAddress"`
	ClientVersion       string                 `json:"clientVersion"`
	ProtocolVersion     int                    `json:"protocolVersion"`
	SupportsRulesEngine bool                   `json:"supportsRulesEngine"`
}

type ZeroTier

type ZeroTier struct {
	Bearer string
	Host   string
}

func MakeZeroTier

func MakeZeroTier(cfg ZeroTier) ZeroTier

func (*ZeroTier) NetworkMember

func (zt *ZeroTier) NetworkMember(net string) ([]Member, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL