internalcache

package
v0.0.0-...-16cb402 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const ORDER_NUMBER_KEY string = "order_number"

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheValueType

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

func (*CacheValueType) Int

func (cv *CacheValueType) Int() (int, error)

func (*CacheValueType) String

func (cv *CacheValueType) String() string

type Engine

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

func New

func New() Engine

func (*Engine) Get

func (e *Engine) Get(key string) (CacheValueType, error)

func (*Engine) Set

func (e *Engine) Set(key, value string) error

Jump to

Keyboard shortcuts

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