mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 18:08:14 -05:00
efcdffb20d
add across nodes ip limit add user ip recorder del config file watch
16 lines
292 B
Go
16 lines
292 B
Go
package conf
|
|
|
|
type LogConfig struct {
|
|
Level string `mapstructure:"Level"`
|
|
AccessPath string `mapstructure:"AccessPath"`
|
|
ErrorPath string `mapstructure:"ErrorPath"`
|
|
}
|
|
|
|
func NewLogConfig() *LogConfig {
|
|
return &LogConfig{
|
|
Level: "none",
|
|
AccessPath: "",
|
|
ErrorPath: "",
|
|
}
|
|
}
|