util

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// HTTPListenAddress address server listens on host:port
	HTTPListenAddress = "http-listen-address"
	// Debug if debug logs should be enabled
	Debug = "debug"
	// LogColor sets log format to human-friendly, colorized output
	LogColor = "log-color"

	// ErrFilesPath the location on disk of files served by the handler
	ErrFilesPath = "error-files-path"

	// HideDetails hide request details in response
	HideDetails = "hide-details"
)

Variables

This section is empty.

Functions

func ConfigureLogger

func ConfigureLogger()

ConfigureLogger configure log output and levels

func InitFlags

func InitFlags()

InitFlags initialize viper and pflags

Types

This section is empty.

Jump to

Keyboard shortcuts

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