nopaxos

package
v0.0.0-...-61b1583 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements the NOPaxos consensus protocol server

func NewServer

func NewServer(clusterConfig cluster.Cluster, registry *node.Registry, protocolConfig *config.ProtocolConfig) *Server

NewServer returns a new NOPaxos consensus protocol server

func (*Server) Start

func (s *Server) Start() error

Start starts the NOPaxos server

func (*Server) Stop

func (s *Server) Stop() error

Stop shuts down the NOPaxos server

func (*Server) WaitForReady

func (s *Server) WaitForReady() error

WaitForReady waits for the NOPaxos server to finish startup

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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