config

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 0 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 {
	Type   string // log type std zap logrus,zap is default
	Both   string // all ,file console,console is default
	Level  string // info ,error ...
	Format string // json text
	File   FileConf
}

type FileConf

type FileConf struct {
	Mode   string // size data
	Path   string // file path
	MaxAge int    // file maxAge
	Size   int    // file size (M)
}

Jump to

Keyboard shortcuts

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