token

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager handles token distribution in a round-robin fashion

func NewManager

func NewManager(tokens []string) *Manager

func (*Manager) GetAllTokens

func (m *Manager) GetAllTokens() []string

func (*Manager) GetNextToken

func (m *Manager) GetNextToken() string

GetNextToken returns the next token in round-robin fashion

Jump to

Keyboard shortcuts

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