Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithPanicRecovery ¶
func WithPanicRecovery(logger *slog.Logger) grpc.ServerOption
WithPanicRecovery returns a new grpc.ServerOption that recovers from panics and logs them.
func WithUnknownServiceHandler ¶
func WithUnknownServiceHandler(logger *slog.Logger) grpc.ServerOption
WithUnknownServiceHandler returns a new grpc.ServerOption that handles unknown routes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.