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 Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(localAddress raft.ServerAddress, dialOptions []grpc.DialOption, 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.