cache

package
v3.0.27 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Parameter = "realtime"
	Key       = "enableCache"
)

Variables

This section is empty.

Functions

func New

func New() middleware.Object

Types

type Cache

type Cache struct{}

func (*Cache) GetConfig

func (c *Cache) GetConfig() *viper.Viper

func (*Cache) Handle

func (c *Cache) Handle() gin.HandlerFunc

func (*Cache) SetConfig

func (*Cache) SetConfig(config *viper.Viper)

Jump to

Keyboard shortcuts

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