Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyParam = errors.New("error empty param") ErrPickNote = errors.New("error pick node") )
Functions ¶
func SearchUint32s ¶
func StandardizeAddr ¶
Types ¶
type ByteView ¶
type ByteView struct {
B []byte
}
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) RegisterNodes ¶
type Option ¶
type Option func(o *Options)
func WithBasePath ¶
WithBasePath used to define base path of server
func WithHashFunc ¶
WithHashFunc used to define hash func used by consistent hash
func WithReplicationFactor ¶
WithReplicationFactor used to define consistent hash replication factor
Click to show internal directories.
Click to hide internal directories.