Fix: parse dial interface option

This commit is contained in:
Dreamacro
2021-11-08 13:29:37 +08:00
parent d40e5e4fe6
commit e622d8dd38
3 changed files with 37 additions and 35 deletions

View File

@ -70,7 +70,7 @@ func (b *Base) DialOptions(opts ...dialer.Option) []dialer.Option {
}
type BasicOption struct {
Interface string `proxy:"interface-name"`
Interface string `proxy:"interface-name,omitempty" group:"interface-name,omitempty"`
}
type BaseOption struct {