package
1.3.1
Repository: https://github.com/stevencyb/goapiutils.git
Documentation: pkg.go.dev

# Functions

NewPolicy create a new policy instance with given arguments.
NewSpec creates a new spec with given arguments.
NewToken creates a new token with given arguments.
NewTokenizer create a new tokenizer instance with given parameters.

# Constants

BlacklistPolicy declare a policy to use blacklist logic.
WhitelistPolicy declare a policy to use whitelist logic.

# Structs

Policy handles policy checks based on configuration.
spec for the tokenizer.
Token represents a single token.
tokenizer that lazily pulls a token from a stream.

# Type aliases

PolicyType represent policy type values.
TokenType is the type of the token.