Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*serverBuilder)
Option is any function that allows for configuration of the gRPC server during its creation.
func WithGRPCOption ¶
func WithGRPCOption(opt grpc.ServerOption) Option
WithGRPCOption allows one to specify Google gRPC server options during the construction of the CometBFT gRPC server.
func WithLogger ¶
WithLogger enables logging using the given logger. If not specified, the gRPC server does not log anything.
Click to show internal directories.
Click to hide internal directories.