This commit is contained in:
2019-07-18 15:37:40 -04:00
parent 3ae1089048
commit 37fbfe130e
4 changed files with 198 additions and 13 deletions

View File

@@ -82,10 +82,10 @@ var config struct {
Wait int64
Timeout time.Duration
DefaultConfig *HostConfig
Routing bool
}
func parseRule(raw *RawHostRule) (*HostRule, error) {
//TODO: for the love of god someone please refactor this func
rule := &HostRule{}
var err error