general: bump version

This commit is contained in:
nadoo committed 2019-09-19 18:03:48 +08:00
1 parent d6d706b5ee
commit 2c4aa26055
4 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ import (
// Config , every rule dialer points to a rule file
type Config struct {
name string
Name string
Forward []string
StrategyConfig strategy.Config
@@ -28,7 +28,7 @@ type Config struct {
// NewConfFromFile .
func NewConfFromFile(ruleFile string) (*Config, error) {
p := &Config{name: ruleFile}
p := &Config{Name: ruleFile}
f := conflag.NewFromFile("rule", ruleFile)
f.StringSliceUniqVar(&p.Forward, "forward", nil, "forward url, format: SCHEME://[USER|METHOD:PASSWORD@][HOST]:PORT?PARAMS[,SCHEME://[USER|METHOD:PASSWORD@][HOST]:PORT?PARAMS]")