Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetterFunc ¶
GetterFunc 通过函数实现Getter
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Loader 一个缓存名称空间,相关的数据加载分布
func NewGroupDefault ¶
NewGroup create a new instance of Loader
func (*Group) RegisterPeers ¶
func (g *Group) RegisterPeers(peers remote.PeerPicker)
type SyncCache ¶
type SyncCache struct {
// contains filtered or unexported fields
}
func NewSyncCache ¶
func NewSyncCacheDefault ¶
Click to show internal directories.
Click to hide internal directories.