app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//LoggerLevel ...
	LoggerLevel = config.ValueString("logger/level")

	//ServerEndpoint ...
	ServerEndpoint = config.ValueString("server/endpoint")
	//ServerGracefulShutdown ...
	ServerGracefulShutdown = config.ValueDuration("server/graceful-shutdown")

	//MetricsEnable ...
	MetricsEnable = config.ValueBool("metrics/enable")

	//TraceEnable ...
	TraceEnable = config.ValueBool("trace/enable")
)

Variables

View Source
var ConfigFile string

ConfigFile file with actual app config

Functions

func Context

func Context() context.Context

Context context of application

func SetContext

func SetContext(c context.Context)

SetContext set app context

Types

This section is empty.

Jump to

Keyboard shortcuts

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