secret

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustPack added in v0.2.1

func MustPack(value interface{}) []byte

MustPack uses Pack but panic on error.

func Pack

func Pack(value interface{}) ([]byte, error)

Pack a secret value.

func Unpack

func Unpack(in []byte, out interface{}) error

Unpack a secret value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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