Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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.
type NoopTokenizer ¶ added in v1.273.0
type NoopTokenizer struct{}
NoopTokenizer for token.
func (*NoopTokenizer) GenerateConfig ¶ added in v1.273.0
func (*NoopTokenizer) GenerateConfig() (string, string, error)
Click to show internal directories.
Click to hide internal directories.