config

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BuildTag is git commit tag
	BuildTag = "unknown"
	// BuildTime is program build time
	BuildTime = "unknown"
	// CommitTime is git commit Time
	CommitTime = "unknown"
	// Debug Mode
	Debug = false
	// Version is program version
	Version = "development"
)
View Source
var Core *core

Core config field

View Source
var Database *database

Database config field

View Source
var Git *git

Git config field

Functions

func InitConfigDriver

func InitConfigDriver(cfgFile string, logger *zap.Logger)

InitConfigDriver init config

func SetDebug

func SetDebug(v bool)

SetDebug change debug option

Types

This section is empty.

Jump to

Keyboard shortcuts

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