Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoPublic ¶
type DiscoPublic key.DiscoPublic
NodePublic is a wrapper around a key.NodePublic which represents the Tailscale disco key for an agent.
func (DiscoPublic) MarshalJSON ¶
func (n DiscoPublic) MarshalJSON() ([]byte, error)
This is necessary so DiscoPublic can be serialized in JSON loggers.
func (*DiscoPublic) Scan ¶
func (n *DiscoPublic) Scan(value interface{}) error
Scan is so DiscoPublic can be read from the database.
func (DiscoPublic) String ¶
func (n DiscoPublic) String() string
type NodePublic ¶
type NodePublic key.NodePublic
NodePublic is a wrapper around a key.NodePublic which represents the Wireguard public key for an agent..
func (NodePublic) MarshalJSON ¶
func (n NodePublic) MarshalJSON() ([]byte, error)
This is necessary so NodePublic can be serialized in JSON loggers.
func (*NodePublic) Scan ¶
func (n *NodePublic) Scan(value interface{}) error
Scan is so NodePublic can be read from the database.
func (NodePublic) String ¶
func (n NodePublic) String() string
Click to show internal directories.
Click to hide internal directories.