gofmt
This commit is contained in:
@ -2,7 +2,7 @@ package i2phttpproxy
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"log"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
@ -356,7 +356,7 @@ func SetCloseIdle(b bool) func(*SAMHTTPProxy) error {
|
||||
func SetCloseIdleTime(u uint) func(*SAMHTTPProxy) error {
|
||||
return func(c *SAMHTTPProxy) error {
|
||||
log.Println("TEST CLOSE", u, (u > 299999))
|
||||
if u > 299999 {
|
||||
if u > 299999 {
|
||||
c.closeIdleTime = u
|
||||
return nil
|
||||
}
|
||||
|
@ -71,11 +71,11 @@ func (f *SAMHTTPProxy) print() []string {
|
||||
}
|
||||
|
||||
func (f *SAMHTTPProxy) GetType() string {
|
||||
return "httpclient"
|
||||
return "httpclient"
|
||||
}
|
||||
|
||||
func (f *SAMHTTPProxy) ID() string {
|
||||
return f.tunName
|
||||
return f.tunName
|
||||
}
|
||||
|
||||
func (f *SAMHTTPProxy) Props() map[string]string {
|
||||
|
Reference in New Issue
Block a user