package
1.0.11
Repository: https://github.com/rookie-ninja/rk-entry.git
Documentation: pkg.go.dev

# Functions

NewBeforeCtx create new BeforeCtx with fields initialized.
NewOptionSet Create new optionSet with options.
NewOptionSetMock for testing purpose.
ToOptions convert BootConfig into Option list.
WithAuthScheme provide auth scheme.
WithClaims provide jwt.Claims.
WithEntryNameAndType provide entry name and entry type.
WithExtractor provide user extractor.
WithIgnorePrefix provide paths prefix that will ignore.
WithKeyFunc provide user defined key func.
WithMockOptionSet provide mock OptionSetInterface.
WithParseTokenFunc provide user defined token parse func.
WithSigningAlgorithm provide signing algorithm.
WithSigningKey provide SigningKey.
WithSigningKeys provide SigningKey with key and value.
WithTokenLookup provide lookup configs.

# Constants

AlgorithmHS256 is default algorithm for jwt.

# Structs

BeforeCtx context for Before() function.
BootConfig for YAML.

# Interfaces

OptionSetInterface mainly for testing purpose.

# Type aliases

No description provided by the author
Option if for middleware options while creating middleware.
ParseTokenFunc parse token func.