Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthService ¶
type HealthService struct {
// contains filtered or unexported fields
}
HealthService implements GRPC Health Checking Protocol: https://github.com/grpc/grpc/blob/master/doc/health-checking.md It also demonstrates how to override authentication for a service – in this case we are disabling any auth in AuthFuncOverride.
func ProvideHealthService ¶
func ProvideHealthService(cfg *setting.Cfg, grpcServerProvider Provider) (*HealthService, error)
type Provider ¶
type Provider interface { registry.BackgroundService registry.CanBeDisabled GetServer() *grpc.Server GetAddress() string }
func ProvideService ¶
func ProvideService(cfg *setting.Cfg, features featuremgmt.FeatureToggles, authenticator interceptors.Authenticator, tracer tracing.Tracer, registerer prometheus.Registerer) (Provider, error)
type ReflectionService ¶
type ReflectionService struct {
// contains filtered or unexported fields
}
ReflectionService implements the gRPC Server Reflection Protocol: https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
func ProvideReflectionService ¶
func ProvideReflectionService(cfg *setting.Cfg, grpcServerProvider Provider) (*ReflectionService, error)
Click to show internal directories.
Click to hide internal directories.