Documentation
¶
Index ¶
- func MarshalAddrs[T p2p.Addr](xs []T) []string
- func MarshalPrivateKey(privKey p2p.PrivateKey) []byte
- func MarshalPrivateKeyPEM(privateKey p2p.PrivateKey) ([]byte, error)
- func ParseAddrs[T p2p.Addr](parser p2p.AddrParser[T], xs []string) ([]T, error)
- func ParsePrivateKey(data []byte) (p2p.PrivateKey, error)
- func ParsePrivateKeyPEM(data []byte) (p2p.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalAddrs ¶
func MarshalAddrs[T p2p.Addr](xs []T) []string
func MarshalPrivateKey ¶
func MarshalPrivateKey(privKey p2p.PrivateKey) []byte
func MarshalPrivateKeyPEM ¶
func ParseAddrs ¶
func ParsePrivateKey ¶
func ParsePrivateKeyPEM ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.