internal

package
v0.0.0-...-8702cac Latest Latest
Warning

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

Go to latest
Published: May 11, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterList

func FilterList[T comparable](source []T, predicate func(T) bool) ([]T, int)

func GenerateRandomString

func GenerateRandomString(dataset []*UrPoll, genLength uint8) (string, error)

Types

type UrPoll

type UrPoll struct {
	MaxPulls uint8
	// contains filtered or unexported fields
}

func NewConsumableUrPoll

func NewConsumableUrPoll(source string, maxPulls uint8) (*UrPoll, error)

func NewUrPoll

func NewUrPoll(source string, maxPulls uint8) (*UrPoll, error)

func (*UrPoll) CanPull

func (poll *UrPoll) CanPull() bool

func (*UrPoll) Pull

func (poll *UrPoll) Pull() (byte, error)

Jump to

Keyboard shortcuts

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