server

package
v0.0.0-...-989240d Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorChan

type ErrorChan <-chan error

type RaftServer

type RaftServer interface {
	Accept(request raftmodels.Request) (ResponseChan, ErrorChan)
}

The RaftServer will

func NewRaftServer

func NewRaftServer(locator locator.RpcLocator) RaftServer

type ResponseChan

type ResponseChan <-chan raftmodels.Response

Jump to

Keyboard shortcuts

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