inmemory

package
v5.0.11 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryCache

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

func NewMemoryCache

func NewMemoryCache() *MemoryCache

func (*MemoryCache) Clear

func (c *MemoryCache) Clear()

func (*MemoryCache) Delete

func (c *MemoryCache) Delete(key ...string)

func (*MemoryCache) Get

func (c *MemoryCache) Get(key string) (*plush.Template, bool)

func (*MemoryCache) Set

func (c *MemoryCache) Set(key string, t *plush.Template)

Jump to

Keyboard shortcuts

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