mysql

package module
v0.0.0-...-2e4b48b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	URIRequiredError = errors.New("uri is required")
)

Functions

This section is empty.

Types

type MySQLCache

type MySQLCache struct {
	Host, Port, Database, Username, Password string
	// contains filtered or unexported fields
}

func (*MySQLCache) Cache

func (mc *MySQLCache) Cache(key string, val []byte) error

func (*MySQLCache) Clear

func (mc *MySQLCache) Clear() error

func (*MySQLCache) Compressed

func (mc *MySQLCache) Compressed(yes bool)

func (*MySQLCache) Init

func (mc *MySQLCache) Init() error

func (*MySQLCache) IsCached

func (mc *MySQLCache) IsCached(key string) ([]byte, bool)

Jump to

Keyboard shortcuts

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