dt

package
v1.1.196 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Resilencia map[string]*Step

Functions

func Drop

func Drop(key string)

* * Drop * @param key string *

func Resilience

func Resilience(key string, limit int) int

* * Resilience * @param key string * @return int *

func ResilienceReset

func ResilienceReset(key string)

* * ResilienceReset * @param key string *

Types

type Object

type Object struct {
	et.Item
	Key string `json:"key"`
	// contains filtered or unexported fields
}

func Get

func Get(key string) Object

* * Get * @param key string * @return Object *

func Up

func Up(key string, data et.Item) Object

* * Up * @param key string, data et.Item * @return Object *

func UpWithDuration

func UpWithDuration(key string, data et.Item, duration time.Duration) Object

* * UpWithDuration * @param key string, data et.Item, duration time.Duration * @return Object *

type Step

type Step struct {
	Step  int
	Limit int
}

Jump to

Keyboard shortcuts

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