driver

package
v0.0.0-...-db0ecef Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPsql

func NewPsql() (db *sql.DB, close func() error, err error)

Connecting Postgres by using environment variables.

func NewRedis

func NewRedis(ctx context.Context) (*redis.Client, func() error, error)

NewRedis returns a client to the Redis Server specified by Options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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