Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type GRPC ¶
type GRPC[T any] struct { Logger *otelzap.Logger Server *grpc.Server // contains filtered or unexported fields }
func (*GRPC[T]) Check ¶
func (g *GRPC[T]) Check(_ context.Context, _ *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
func (*GRPC[T]) GracefulStop ¶
func (g *GRPC[T]) GracefulStop()
func (*GRPC[T]) Watch ¶
func (g *GRPC[T]) Watch(_ *grpc_health_v1.HealthCheckRequest, server grpc_health_v1.Health_WatchServer) error
type GRPCConfig ¶
Click to show internal directories.
Click to hide internal directories.