Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
func (Cluster) ResponsibleNode ¶
type ClusterJoinCmd ¶
type ClusterJoinCmd struct {
// contains filtered or unexported fields
}
func NewClusterJoinCmd ¶
func NewClusterJoinCmd(arguments string) (*ClusterJoinCmd, error)
func (ClusterJoinCmd) String ¶
func (cmd ClusterJoinCmd) String() string
type ClusterListNodesCmd ¶
type ClusterListNodesCmd struct {
// contains filtered or unexported fields
}
func NewClusterListNodesCmd ¶
func NewClusterListNodesCmd() (*ClusterListNodesCmd, error)
func (ClusterListNodesCmd) String ¶
func (cmd ClusterListNodesCmd) String() string
type ClusterStatsCmd ¶
type ClusterStatsCmd struct {
// contains filtered or unexported fields
}
func NewClusterStatsCmd ¶
func NewClusterStatsCmd() (*ClusterStatsCmd, error)
func (ClusterStatsCmd) String ¶
func (cmd ClusterStatsCmd) String() string
type Config ¶
type Config struct { Host string Port int StoragePath string ReadTimeout time.Duration WriteTimeout time.Duration StabilizeInterval time.Duration // percentage of keys in the store to stabilize per batch StabilizeBatchSize int EvictionInterval time.Duration // percentage of keys in the store to evict per batch EvictionBatchSize int }
func DefaultConfig ¶
func DefaultConfig() Config
type FetchCmd ¶
type FetchCmd struct {
// contains filtered or unexported fields
}
func NewFetchCmd ¶
type NodeStatsCmd ¶
type NodeStatsCmd struct {
// contains filtered or unexported fields
}
func NewNodeStatsCmd ¶
func NewNodeStatsCmd() (*NodeStatsCmd, error)
func (NodeStatsCmd) String ¶
func (cmd NodeStatsCmd) String() string
type PayloadResult ¶
type PayloadResult struct {
// contains filtered or unexported fields
}
func (PayloadResult) String ¶
func (r PayloadResult) String() string
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) RemoveNode ¶
func (*Router) ResponsibleNode ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (Server) JoinCluster ¶
type StoreCmd ¶
type StoreCmd struct {
// contains filtered or unexported fields
}
func NewStoreCmd ¶
type StoreExpiringCmd ¶
type StoreExpiringCmd struct {
// contains filtered or unexported fields
}
func NewStoreExpiringCmd ¶
func NewStoreExpiringCmd(arguments string) (*StoreExpiringCmd, error)
func (StoreExpiringCmd) String ¶
func (cmd StoreExpiringCmd) String() string
type VoidResult ¶
type VoidResult struct{}
func (VoidResult) String ¶
func (r VoidResult) String() string
Click to show internal directories.
Click to hide internal directories.