postgres

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 PostgreSQLCache

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

func (*PostgreSQLCache) Cache

func (pc *PostgreSQLCache) Cache(key string, val []byte) error

func (*PostgreSQLCache) Clear

func (pc *PostgreSQLCache) Clear() error

func (*PostgreSQLCache) Compressed

func (pc *PostgreSQLCache) Compressed(yes bool)

func (*PostgreSQLCache) Init

func (pc *PostgreSQLCache) Init() error

func (*PostgreSQLCache) IsCached

func (pc *PostgreSQLCache) IsCached(key string) ([]byte, bool)

Jump to

Keyboard shortcuts

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