Documentation ¶
Index ¶
- type Service
- func (s *Service) Check(ctx context.Context, healthCheckRequest *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
- func (s *Service) Send(ctx context.Context, payload *mygrpc.Payload) (*mygrpc.PayloadResponse, error)
- func (*Service) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { grpc_health_v1.UnimplementedHealthServer mygrpc.UnimplementedExampleServiceServer }
Service stub GRPC service with healthchecks
func (*Service) Check ¶
func (s *Service) Check(ctx context.Context, healthCheckRequest *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check healthcheck.
func (*Service) Send ¶
func (s *Service) Send(ctx context.Context, payload *mygrpc.Payload) (*mygrpc.PayloadResponse, error)
Send example method.
func (*Service) Watch ¶
func (*Service) Watch(*grpc_health_v1.HealthCheckRequest, grpc_health_v1.Health_WatchServer) error
Watch healthcheck.
Click to show internal directories.
Click to hide internal directories.