mtg

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePrivateKey

func DecodePrivateKey(s string) (ed25519.PrivateKey, error)

func DecodePublicKey

func DecodePublicKey(s string) (ed25519.PublicKey, error)

func Decrypt

func Decrypt(b []byte, privateKey ed25519.PrivateKey) ([]byte, error)

func Encode

func Encode(values ...interface{}) ([]byte, error)

func EncodeStruct

func EncodeStruct(s interface{}) ([]byte, error)

func Encrypt

func Encrypt(body []byte, privateKey ed25519.PrivateKey, publicKey ed25519.PublicKey) ([]byte, error)

func Scan

func Scan(body []byte, dest ...interface{}) ([]byte, error)

func ScanAll

func ScanAll(body []byte, dest ...interface{}) error

func ScanStructs

func ScanStructs(body []byte, s interface{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL