Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Module = fx.Options( fx.Provide(NewTokenizer), )
Module for fx.
Functions ¶
Types ¶
type Config ¶ added in v1.117.0
type Config struct {
Argon2 *argon2.Config `yaml:"argon2,omitempty" json:"argon2,omitempty" toml:"argon2,omitempty"`
}
Config for token.
type Generator ¶
type Generator interface { // Generate a new token or error. Generate(ctx context.Context) (context.Context, []byte, error) }
Generator allows the implementation of different types generators.
Click to show internal directories.
Click to hide internal directories.