Style: rename Generator with Dial

This commit is contained in:
Dreamacro
2019-03-03 11:59:07 +08:00
parent 23bb01a4df
commit 7683271fe6
13 changed files with 19 additions and 19 deletions

View File

@ -20,8 +20,8 @@ type SelectorOption struct {
Proxies []string `proxy:"proxies"`
}
func (s *Selector) Generator(metadata *C.Metadata) (net.Conn, error) {
return s.selected.Generator(metadata)
func (s *Selector) Dial(metadata *C.Metadata) (net.Conn, error) {
return s.selected.Dial(metadata)
}
func (s *Selector) MarshalJSON() ([]byte, error) {