Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DsRpcServer ¶
type DsRpcServer struct {
// contains filtered or unexported fields
}
func NewDsRpcServer ¶
func NewDsRpcServer(addr string) *DsRpcServer
func (*DsRpcServer) Start ¶
func (svr *DsRpcServer) Start()
func (*DsRpcServer) Stop ¶
func (svr *DsRpcServer) Stop()
type DsServer ¶
func NewDsServer ¶
func (*DsServer) GetRangeManager ¶
func (ds *DsServer) GetRangeManager() *RangeManager
type RangeManager ¶
type RangeManager struct {
// contains filtered or unexported fields
}
func NewRangeManager ¶
func NewRangeManager() *RangeManager
func (*RangeManager) AddRange ¶
func (rm *RangeManager) AddRange(r *Range)
func (*RangeManager) DelRange ¶
func (rm *RangeManager) DelRange(rangeId uint64)
func (*RangeManager) FindRange ¶
func (rm *RangeManager) FindRange(id uint64) *Range
func (*RangeManager) Walk ¶
func (rm *RangeManager) Walk(f func(id uint64, r *Range))
Click to show internal directories.
Click to hide internal directories.