config

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *viper.Viper

func GetLimit

func GetLimit() int

func GetLogRoot

func GetLogRoot() string

func GetNow

func GetNow() time.Time

func GetWriter

func GetWriter() io.Writer

func LoadConfig

func LoadConfig()

func SetLimit

func SetLimit(newLimit int)

func SetLogRoot

func SetLogRoot(newLogRoot string)

func SetNow

func SetNow(t time.Time)

FOR TEST

func SetWriter

func SetWriter(w io.Writer)

FOR CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

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