ttl

package
v5.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginType = "ttl"
)

Variables

This section is empty.

Functions

func QuickSetup

func QuickSetup(_ sequence.BQ, s string) (any, error)

QuickSetup format: {[min-max]|[fix]} e.g. range "300-600", fixed ttl "5".

Types

type TTL

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

func NewTTL

func NewTTL(fix, min, max uint32) *TTL

func (*TTL) Exec

func (t *TTL) Exec(_ context.Context, qCtx *query_context.Context) error

Jump to

Keyboard shortcuts

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