Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPRCServerService ¶
type GPRCServerService struct {
// contains filtered or unexported fields
}
func (*GPRCServerService) GetAddress ¶
func (s *GPRCServerService) GetAddress() string
func (*GPRCServerService) GetServer ¶
func (s *GPRCServerService) GetServer() *grpc.Server
func (*GPRCServerService) IsDisabled ¶
func (s *GPRCServerService) IsDisabled() bool
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 GetServer() *grpc.Server GetAddress() string }
func ProvideService ¶
func ProvideService(cfg *setting.Cfg, 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.