internal

package
v0.0.0-...-672060c Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CooldownManager

type CooldownManager struct {
	Cooldown time.Duration
	// contains filtered or unexported fields
}

func NewCooldownManager

func NewCooldownManager(cooldown time.Duration) *CooldownManager

func (*CooldownManager) Attempt

func (cm *CooldownManager) Attempt(id auth.UserId) (bool, *time.Duration)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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