config

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct{}

func NewConfig

func NewConfig() Config

func (Config) InitConfigFile

func (_ Config) InitConfigFile()

InitConfigFile loads an external configuration file and registers it into viper.

func (Config) InitFlags

func (_ Config) InitFlags()

InitFlags initialise CLI flags.

func (Config) InitLogger

func (_ Config) InitLogger()

InitLogger initialises the rolling file logger and the logging format.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳