Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZeroStorCluster ¶
type ZeroStorCluster struct {
// contains filtered or unexported fields
}
ZeroStorCluster defines a 0-stor server cluster which only intended to be used in test
func NewZeroStorCluster ¶
func NewZeroStorCluster(num int) (*ZeroStorCluster, error)
NewZeroStorCluster creates new 0-stor cluster
func (*ZeroStorCluster) Addrs ¶
func (z *ZeroStorCluster) Addrs() []string
Addrs returns slice of each server address
func (*ZeroStorCluster) Close ¶
func (z *ZeroStorCluster) Close()
Close stop and release all server's resources
Click to show internal directories.
Click to hide internal directories.