cache

package module
v0.0.0-...-6dd438c Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DELIMITER = ":"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheDetails

type CacheDetails struct {
	Host        string        `json:"host"`
	IdleTimeout time.Duration `json:"idle_timeout"`
	MaxActive   int64         `json:"max_active"`
	MaxIdle     int64         `json:"max_idle"`
	Port        int64         `json:"port"`
	Protocol    string        `json:"protocol"`
}

type CacheInterface

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

func NewInterface

func NewInterface(details *CacheDetails) (cacheInterface *CacheInterface, err error)

func (*CacheInterface) Exec

func (ce *CacheInterface) Exec(args *[]interface{}, err error) (interface{}, error)

Jump to

Keyboard shortcuts

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