shared

package
v0.0.0-...-12f8a50 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var K = koanf.New(".")

K is the global koanf instance

Functions

func InitRedis

func InitRedis()

InitRedis initialises the redis connection pool

func LoadKoanf

func LoadKoanf()

LoadKoanf populates k with default values from configs/default.yml, then overrides/appends to those values with environment variables prefixed with KOANF_

Types

This section is empty.

Jump to

Keyboard shortcuts

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