fix: delete unused var and const (#3294)

Signed-off-by: hwdef <hwdef97@gmail.com>
This commit is contained in:
li mengyang 2019-09-24 14:06:38 +08:00 committed by Miek Gieben
parent 081e45afa3
commit 50bac4d3c3
5 changed files with 0 additions and 19 deletions

View file

@ -199,15 +199,6 @@ var (
ErrCachedClosed = errors.New("cached connection was closed by peer")
)
// policy tells forward what policy for selecting upstream it uses.
type policy int
const (
randomPolicy policy = iota
roundRobinPolicy
sequentialPolicy
)
// options holds various options that can be set.
type options struct {
forceTCP bool