embeddedserver

package
v1.1.0-alpha-8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL