rule: optimized codes

This commit is contained in:
nadoo committed 2020-09-24 18:50:04 +08:00
1 parent 84b00d6db6
commit 04c65fb444
10 files changed
+97 -100

No files matched your search

+2 -2
View File
@@ -12,10 +12,10 @@ import (
"github.com/nadoo/glider/proxy"
)
// StatusHandler function will be called when the forwarder's status changed
// StatusHandler function will be called when the forwarder's status changed.
type StatusHandler func(*Forwarder)
// Forwarder is a forwarder
// Forwarder associates with a `-forward` command, usually a dialer or a chain of dialers.
type Forwarder struct {
proxy.Dialer
addr string