Documentation ¶
Overview ¶
Package gripkit provides wrappers and helpers for
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPOptions ¶
type HealthzOptions ¶
type HealthzOptions struct { UseDefault bool Handler http.HandlerFunc // Optional IP:Port string, defaults to :10456 Addr string }
type Option ¶
type Option func(*options)
func WithGrpcWeb ¶
func WithHTTPOptions ¶
func WithHTTPOptions(opts HTTPOptions) Option
func WithHealthz ¶
func WithHealthz(hzOpts *HealthzOptions) Option
WithHealthz adds a custom /healthz handler to the gRPC HTTP server. Pass nil to disable.
func WithOptions ¶
func WithOptions(opts ...grpc.ServerOption) Option
Click to show internal directories.
Click to hide internal directories.