Documentation ¶
Overview ¶
Package transport provides a Transport for github.com/hashicorp/raft over gRPC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitIndex ¶
type Manager ¶
type Manager struct { *connections.Manager // contains filtered or unexported fields }
func New ¶
func New(conns *connections.Manager, options ...Option) *Manager
New creates both components of raft-grpc-transport: a gRPC service and a Raft Transport.
func (*Manager) Register ¶
func (m *Manager) Register(s grpc.ServiceRegistrar)
Register the RaftTransport gRPC service on a gRPC server.
Click to show internal directories.
Click to hide internal directories.