Documentation ¶
Index ¶
- func Load(keyPath string) (crypto.PrivKey, error)
- func LoadRaw(keyPath string) ([]byte, error)
- func LoadRawFromEnv() []byte
- func LoadRawFromString(key64 string) []byte
- func New() crypto.PrivKey
- func NewPersistant(path string) ([]byte, error)
- func NewRaw() []byte
- func Save(priv crypto.PrivKey, keyPath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadRawFromString ¶
Read key from ENV. key must be encoded in base64
func NewPersistant ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.