Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncorrectResponseType = errors.New("incorrect response type")
ErrIncorrectResponseType is the error returned when a collection method is called and Raft returned unexpected response type.
View Source
var ErrNotLeader = status.Errorf(codes.FailedPrecondition, raft.ErrNotLeader.Error())
ErrNotLeader is the error returned in case of a Raft follower call.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*options)
Option defines a Gateway configuration option.
func WithGRPCPort ¶
func WithHTTPPort ¶
func WithListenAddress ¶
func WithLoggerName ¶
func WithMetricsEnabled ¶
func WithPprofEnabled ¶
Click to show internal directories.
Click to hide internal directories.