Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Cfg *config.ServiceConfig GrpcServer *grpc.Server Interactor *grpcRouters.GrpcInteractor }
type HealthChecker ¶
type HealthChecker struct {
grpc_health_v1.HealthServer
}
func NewHealthChecker ¶
func NewHealthChecker() *HealthChecker
NewHealthChecker new check grpc health
func (*HealthChecker) Check ¶
func (s *HealthChecker) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check check grpc
Click to show internal directories.
Click to hide internal directories.