remove unused and rename
parent
01b7b06971
commit
d98703610d
|
|
@ -7,8 +7,7 @@ import (
|
|||
)
|
||||
|
||||
type Proxy struct {
|
||||
To string
|
||||
BOAuthZ bool
|
||||
To string
|
||||
}
|
||||
|
||||
func parseProxy(s string) (string, Proxy) {
|
||||
|
|
@ -21,9 +20,6 @@ func parseProxy(s string) (string, Proxy) {
|
|||
if len(l) > 1 {
|
||||
p.To = l[1]
|
||||
}
|
||||
if len(l) > 2 {
|
||||
p.BOAuthZ = l[2] == "true"
|
||||
}
|
||||
return key, p
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue