Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
func GenerateKeyPair() (*ecdsa.PrivateKey, *ecdsa.PublicKey, error)
GenerateKeyPair generates a new key pair
Types ¶
type PiNode ¶
PiNode represents a node in the Pi network
func UnmarshalJSON ¶
UnmarshalJSON unmarshals a JSON byte slice to a PiNode
func (*PiNode) MarshalJSON ¶
MarshalJSON marshals the PiNode to JSON
Click to show internal directories.
Click to hide internal directories.