interfaces

package
v0.0.0-...-94423a4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheImpl

type CacheImpl interface {
	Get(key string) (value interface{}, resultType ResultType, err error)
	GetWithExpiration(key string) (value interface{}, resultType ResultType, exp time.Duration, err error)
	Set(key string, value interface{}, exp time.Duration) (err error)
	Remove(key string) error
	Reset() error
	Close() error
}

type ResultType

type ResultType = string
const ExactlyAsSet ResultType = "exactlyAsSet"
const Generic ResultType = "generic"
const JsonByteArray ResultType = "jsonByteArray"

Jump to

Keyboard shortcuts

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