db

package
v1.4.1-rc-307 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: GPL-2.0 Imports: 9 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 GetPostgresURL

func GetPostgresURL() (url string)

func GetRedisClient

func GetRedisClient() *redis.Client

func PostgresDatabase

func PostgresDatabase() *pgxpool.Pool

Types

This section is empty.

Jump to

Keyboard shortcuts

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