Documentation
¶
Index ¶
Constants ¶
View Source
const ( HttpHeaderXProxy = "X-Proxy" HttpHeaderXClientCountryCode = "X-ClientCountryCode" )
Custom HTTP Headers.
View Source
const BCST = time.Millisecond * 50
View Source
const (
ProxyServerName = "SPARP"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyError ¶
func NewProxyError ¶
func NewProxyError(statusCode int, message string) *ProxyError
func (*ProxyError) Error ¶
func (pe *ProxyError) Error() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetListenDsn ¶
func (*Server) GetStopChannel ¶
func (*Server) GetWorkMode ¶
Click to show internal directories.
Click to hide internal directories.