Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary []byte
Binary is a []byte slice that can be safely unmarshaled from YAML. For the time being, the value is just decoded as-is, but the custom type allows us to switch to other formats in the future such as base64 or hex-encoding.
type RSAKey ¶
A rsa.PublicKey wrapper that can be deserialized from YAML as a PEM-encoded string value.
type RSAPrivateKey ¶
type RSAPrivateKey struct {
*rsa.PrivateKey
}
A rsa.PrivateKey wrapper that can be deserialized from YAML as a PEM-encoded string value.
func (*RSAPrivateKey) UnmarshalYAML ¶
func (k *RSAPrivateKey) UnmarshalYAML(value *yaml.Node) error
type Regexp ¶
type SessionAuthenticationKey ¶
type SessionAuthenticationKey Binary
SessionAuthenticationKey is a binary type for gorilla.session authentication keys, that is YAML-unserializable.
func (*SessionAuthenticationKey) UnmarshalYAML ¶
func (k *SessionAuthenticationKey) UnmarshalYAML(value *yaml.Node) error
type SessionEncryptionKey ¶
type SessionEncryptionKey Binary
SessionEncryptionKey is a binary type for gorilla.session encryption keys, that is YAML-unserializable.
func (*SessionEncryptionKey) UnmarshalYAML ¶
func (k *SessionEncryptionKey) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.