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.
| 187 | // info needed to reach this node. The DERP region in Public must be |
| 188 | // populated by the caller before the key is usable. |
| 189 | type 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 |
nothing calls this directly
no outgoing calls
no test coverage detected