Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Secret ¶
type Secret [32]byte
Secret crypto random 32 bytes array for multinode auth.
func SecretFromBase64 ¶
SecretFromBase64 creates new secret from base64 string.
func SecretFromBytes ¶
SecretFromBytes creates secret from bytes slice.
func (Secret) MarshalJSON ¶ added in v1.63.1
MarshalJSON implements json.Marshaler Interface.
func (*Secret) UnmarshalJSON ¶ added in v1.63.1
UnmarshalJSON implements json.Unmarshaler Interface.
Click to show internal directories.
Click to hide internal directories.