MCPcopy Create free account
hub / github.com/tailscale/tailcat / PrivateKey

Struct PrivateKey

tailcat.go:189–192  ·  view source on GitHub ↗

PrivateKey is a node identity: a private key paired with the connection info needed to reach this node. The DERP region in Public must be populated by the caller before the key is usable.

Source from the content-addressed store, hash-verified

187// info needed to reach this node. The DERP region in Public must be
188// populated by the caller before the key is usable.
189type PrivateKey struct {
190 Private key.NodePrivate
191 Public ConnInfo
192}
193
194// NewPrivateKey returns a new PrivateKey, but without
195// the DERP region populated. It's up to the caller to

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected