cache

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opt ...func(conf *Config)) znet.HandlerFunc

func QueryKey

func QueryKey(c *znet.Context) (key string)

Types

type Config

type Config struct {
	Custom func(c *znet.Context) (key string, expiration time.Duration)
	zcache.Options
}

Config configuration

Jump to

Keyboard shortcuts

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