secret

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constant

type Constant struct {
	Secret string
}

func (Constant) Generate

func (c Constant) Generate(data string) Metadata

func (Constant) String

func (c Constant) String() string

type Hash

type Hash struct{}

func (*Hash) Generate

func (h *Hash) Generate(data string) Metadata

func (*Hash) String

func (h *Hash) String() string

type Metadata

type Metadata struct {
	Key  string
	Type Secret
}

type None added in v0.0.5

type None struct{}

func (None) Generate added in v0.0.5

func (n None) Generate(data string) Metadata

func (None) String added in v0.0.5

func (n None) String() string

type Secret

type Secret interface {
	String() string
	Generate(data string) Metadata
}

Jump to

Keyboard shortcuts

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