config

package
v0.0.0-...-e59703d Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 2 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 {
	Log *logger.Options `json:"log" mapstructure:"log"` // log日志包 相关配置
}

func NewConfig

func NewConfig() *Config

func (*Config) Flags

func (c *Config) Flags() (fss cliflag.NamedFlagSets)

func (*Config) Validate

func (c *Config) Validate() []error

Jump to

Keyboard shortcuts

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