api

package
v0.0.0-...-c701154 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorLevel = iota + zapcore.FatalLevel + 1
	RequestLevel
	LogPathFormat = "%Y-%m-%d"
)

Variables

View Source
var (
	Cfg     *config.Config
	Log     *logger.Sugar
	Service service.Service
	LogCfgs = []*logger.Config{
		{
			Name:   "error",
			Level:  ErrorLevel,
			Format: LogPathFormat,
		},
		{
			Name:   "request",
			Level:  RequestLevel,
			Format: LogPathFormat,
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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