clients

package
v0.0.0-...-ea214e1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPG

func NewPG(url string) *pgx.Conn

postgres://username:password@localhost:5432/database_name

func NewPGPool

func NewPGPool(url string) *pgxpool.Pool

func NewRedis

func NewRedis(url string) *redis.Client

New creates a new redis client url: redis://<user>:<pass>@localhost:6379/<db>

Types

This section is empty.

Jump to

Keyboard shortcuts

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