Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachePool ¶
type CachePool interface { Listen() error Port() string SetContext(func(r *http.Request) groupcache.Context) ServeHTTP(w http.ResponseWriter, r *http.Request) }
type DebugCachePool ¶
type DebugCachePool struct {
*groupcache.HTTPPool
}
func DebugPool ¶
func DebugPool() *DebugCachePool
func (*DebugCachePool) Listen ¶
func (p *DebugCachePool) Listen() error
func (*DebugCachePool) Port ¶
func (p *DebugCachePool) Port() string
func (*DebugCachePool) SetContext ¶
func (p *DebugCachePool) SetContext(f func(r *http.Request) groupcache.Context)
type EC2CachePool ¶
type EC2CachePool struct { *groupcache.HTTPPool *ec2.EC2 }
func Pool ¶
func Pool(ec2conn *ec2.EC2) *EC2CachePool
func (*EC2CachePool) Listen ¶
func (p *EC2CachePool) Listen() error
func (*EC2CachePool) Port ¶
func (p *EC2CachePool) Port() string
func (*EC2CachePool) RefreshPeers ¶
func (p *EC2CachePool) RefreshPeers(a *Args, r *int) error
func (*EC2CachePool) SetContext ¶
func (p *EC2CachePool) SetContext(f func(r *http.Request) groupcache.Context)
Click to show internal directories.
Click to hide internal directories.