Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
*groupcache.HTTPPool
// contains filtered or unexported fields
}
func New ¶
func New(listeningAddr string, pm PeerManager, c chan struct{}) *Cache
type PeerManager ¶
type PeerManager interface {
GetPeers() []string
PeersChanged() chan struct{}
}
Click to show internal directories.
Click to hide internal directories.