postgresdb

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresDb

type PostgresDb struct {
	Name string
	// contains filtered or unexported fields
}

Implements Cacher

func NewDbCache

func NewDbCache(connStr string, cacheName string) (*PostgresDb, error)

func (PostgresDb) Get

func (db PostgresDb) Get(key string) (string, bool)

func (*PostgresDb) Put

func (db *PostgresDb) Put(key string, value string)

Jump to

Keyboard shortcuts

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