Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadAddress = errors.New("bad address") ErrNoAvailableShard = errors.New("no available shard") )
Functions ¶
This section is empty.
Types ¶
type NoShardError ¶
type NoShardError struct {
// contains filtered or unexported fields
}
func NewNoShardError ¶
func NewNoShardError(uuid string) *NoShardError
func (*NoShardError) Error ¶
func (e *NoShardError) Error() string
type NotLeaderError ¶
type NotLeaderError struct {
Leader string
}
func NewNotLeaderError ¶
func NewNotLeaderError(l string) *NotLeaderError
func (*NotLeaderError) Error ¶
func (e *NotLeaderError) Error() string
type ShardExistsError ¶
type ShardExistsError struct {
// contains filtered or unexported fields
}
func NewShardExistsError ¶
func NewShardExistsError(uuid string) *ShardExistsError
func (*ShardExistsError) Error ¶
func (e *ShardExistsError) Error() string
type ShardsExistError ¶
type ShardsExistError struct {
// contains filtered or unexported fields
}
func NewShardsExistError ¶
func NewShardsExistError(uuids []string) *ShardsExistError
func (*ShardsExistError) Error ¶
func (e *ShardsExistError) Error() string
Click to show internal directories.
Click to hide internal directories.