token

package
v0.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolToken

type BoolToken struct {
	// contains filtered or unexported fields
}

func NewBoolToken

func NewBoolToken(value bool) *BoolToken

func (*BoolToken) Get

func (bt *BoolToken) Get() bool

func (*BoolToken) Set

func (bt *BoolToken) Set(value bool)

type StaticTokens

type StaticTokens struct {
	// contains filtered or unexported fields
}

func NewStaticTokens

func NewStaticTokens(numTokens int) (*StaticTokens, error)

func (*StaticTokens) GrantNextToken

func (st *StaticTokens) GrantNextToken() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL