Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base64Encoder ¶
type Base64Encoder struct{}
Base64Encoder implements the Encoder interface by delegating to the encoding/base64 base64 encoding strategy.
func NewBase64Encoder ¶
func NewBase64Encoder() *Base64Encoder
NewBase64Encoder constructs an Encoder that implements a base64 encoding as specified by the encoding/base64 package.
type NoopEncoder ¶ added in v0.1.5
type NoopEncoder struct{}
type TokenEncoder ¶ added in v0.1.5
type TokenEncoder struct {
// contains filtered or unexported fields
}
func NewTokenEncoder ¶ added in v0.1.5
func NewTokenEncoder(encrypter encrypter.Encrypter, encoder Encoder) *TokenEncoder
NewTokenEncoder constructs a TokenEncoder with the provided encrypter and encoder.
Click to show internal directories.
Click to hide internal directories.