Documentation ¶
Index ¶
- type MemCache
- func (c *MemCache) DeleteProxy(p proxyinabox.Proxy)
- func (c *MemCache) HasProxy(proxy string) bool
- func (c *MemCache) HostLimiter(req *http.Request) bool
- func (c *MemCache) IPLimiter(req *http.Request) bool
- func (c *MemCache) PickProxy(req *http.Request) (string, error)
- func (c *MemCache) SaveProxy(p proxyinabox.Proxy) error
- type ProxyService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemCache ¶
type MemCache struct {
// contains filtered or unexported fields
}
MemCache memory cache
func (*MemCache) HostLimiter ¶
HostLimiter rt
type ProxyService ¶
ProxyService mysql proxy service
func (*ProxyService) GetUnVerified ¶
func (ps *ProxyService) GetUnVerified() (p []proxyinabox.Proxy, e error)
GetUnVerified get un verified proxies
Click to show internal directories.
Click to hide internal directories.