Documentation ¶ Index ¶ type Constant func (c Constant) Generate(data string) Metadata func (c Constant) String() string type Hash func (h *Hash) Generate(data string) Metadata func (h *Hash) String() string type Metadata type None func (n None) Generate(data string) Metadata func (n None) String() string type Secret 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 } Source Files ¶ View all Source files constant.gohash.gonone.gosecret.go Click to show internal directories. Click to hide internal directories.