Documentation ¶
Index ¶
- func DecodePrivateKey(s string) (ed25519.PrivateKey, error)
- func DecodePublicKey(s string) (ed25519.PublicKey, error)
- func Decrypt(b []byte, privateKey ed25519.PrivateKey) ([]byte, error)
- func Encode(values ...interface{}) ([]byte, error)
- func EncodeStruct(s interface{}) ([]byte, error)
- func Encrypt(body []byte, privateKey ed25519.PrivateKey, publicKey ed25519.PublicKey) ([]byte, error)
- func Scan(body []byte, dest ...interface{}) ([]byte, error)
- func ScanAll(body []byte, dest ...interface{}) error
- func ScanStructs(body []byte, s interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivateKey ¶
func DecodePrivateKey(s string) (ed25519.PrivateKey, error)
func EncodeStruct ¶
func ScanStructs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.