Documentation ¶
Index ¶
- func NotFound(w http.ResponseWriter, r *http.Request)
- type HttpProxy
- func (t *HttpProxy) CheckAuth(w http.ResponseWriter, r *http.Request) bool
- func (t *HttpProxy) GetConfig(w http.ResponseWriter, r *http.Request)
- func (t *HttpProxy) GetPac(w http.ResponseWriter, r *http.Request)
- func (t *HttpProxy) GetStats(w http.ResponseWriter, r *http.Request)
- func (t *HttpProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (t *HttpProxy) Start()
- type HttpRecord
- type Proxy
- type SocksProxy
- type TcpProxy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpProxy ¶
type HttpProxy struct {
// contains filtered or unexported fields
}
func NewHttpProxy ¶
type HttpRecord ¶
func (*HttpRecord) Update ¶
func (r *HttpRecord) Update()
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) Initialize ¶
func (p *Proxy) Initialize()
type SocksProxy ¶
type SocksProxy struct {
// contains filtered or unexported fields
}
func NewSocksProxy ¶
func NewSocksProxy(cfg *config.SocksProxy) *SocksProxy
func (*SocksProxy) Start ¶
func (s *SocksProxy) Start()
Click to show internal directories.
Click to hide internal directories.