db

package
v0.0.0-...-3444f4f Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Flush

func Flush(key string) ([]byte, error)

func HandleError

func HandleError(err error)

func PostgresConnect

func PostgresConnect() *gorm.DB

func RedisConnect

func RedisConnect() redis.Conn

func RedisGetValue

func RedisGetValue(key string) ([]byte, error)

func RedisSetValue

func RedisSetValue(key string, value []byte, expiration ...interface{}) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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