secret

package
v1.0.1410-ede839d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 0 Imported by: 4

Documentation

Overview

Package secret contains a struct to store secrets in that won't accidentally let them be logged.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String string

func (String) GoString

func (s String) GoString() string

GoString implements fmt.GoStringer and redacts the sensitive value.

func (String) MarshalJSON

func (s String) MarshalJSON() ([]byte, error)

func (String) String

func (s String) String() string

String implements fmt.Stringer and redacts the sensitive value.

func (String) Value

func (s String) Value() string

Value returns the sensitive value as a string.

Jump to

Keyboard shortcuts

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