Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
ID string
// contains filtered or unexported fields
}
Node is an Atomix node
type NodeOption ¶
type NodeOption interface {
// contains filtered or unexported methods
}
NodeOption is an option for constructing a Node
func WithLocal ¶
func WithLocal(lis net.Listener) NodeOption
WithLocal sets the node to local mode for testing
Click to show internal directories.
Click to hide internal directories.