db

package
v1.1.1-rc-64 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: GPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfluxClient

func GetInfluxClient(url string) clientInfluxdb.Client

GetInfluxClient returns an influx client connecting through the URL given in the environment variable INFLUXURL. If INFLUXURL is not set, it connects to @url per default.

func GetPostgresClient

func GetPostgresClient() (*pgx.Conn, error)

func GetPostgresURL

func GetPostgresURL() (url string)

func GetRedisClient

func GetRedisClient() *redis.Client

func PostgresDatabase

func PostgresDatabase() *pgx.Conn

Types

This section is empty.

Jump to

Keyboard shortcuts

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