util

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 8 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFile

func CheckFile(path string, pathKey string) (file *os.File, err error)

func GetEnvAndTrim

func GetEnvAndTrim(key string) string

func NewRedisDb

func NewRedisDb(addr, password string, db, maxRetries int) *redis.Client

func ParseConfig

func ParseConfig(config model.ApplicationConfig, rootKey string, res interface{}) (err error)

func PresetEnv

func PresetEnv()

Types

This section is empty.

Jump to

Keyboard shortcuts

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