Documentation
¶
Overview ¶
Package raftgrpc implements gRPC transportation layer for raft.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option configures grpc using the functional options paradigm popularized by Rob Pike and Dave Cheney. If you're unfamiliar with this style, see https://commandcenter.blogspot.com/2014/01/self-referential-functions-and-design.html and https://dave.cheney.net/2014/10/17/functional-options-for-friendly-apis.
func WithCallOptions ¶
func WithCallOptions(opts ...grpc.CallOption) Option
WithCallOptions configures grpc client call from the given options.
func WithDialOptions ¶
func WithDialOptions(opts ...grpc.DialOption) Option
WithDialOptions configures grpc dial from the given options.
Click to show internal directories.
Click to hide internal directories.