Files
2020-06-10 14:21:58 +00:00

18 lines
357 B
Go

package proxy
import "github.com/p4gefau1t/trojan-go/config"
type Config struct {
RunType string `json:"run_type" yaml:"run-type"`
LogLevel int `json:"log_level" yaml:"log-level"`
LogFile string `json:"log_file" yaml:"log-file"`
}
func init() {
config.RegisterConfigCreator(Name, func() interface{} {
return &Config{
LogLevel: 1,
}
})
}