Documentation
¶
Overview ¶
Package grpc provides a gRPC component with included observability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component of a gRPC service.
type OptionFunction ¶ added in v0.74.0
func WithReflection ¶ added in v0.74.0
func WithReflection() OptionFunction
WithReflection opt-in for gRPC reflection. WithReflection could be considered a security risk if services are exposed to public internet.
func WithServerOptions ¶ added in v0.74.0
func WithServerOptions(options ...grpc.ServerOption) OptionFunction
WithServerOptions allows gRPC server options to be set.
Click to show internal directories.
Click to hide internal directories.