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 { Key string `yaml:"key,omitempty" json:"key,omitempty" toml:"key,omitempty"` Hash string `yaml:"hash,omitempty" json:"hash,omitempty" toml:"hash,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.