grpcHandler

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2022 License: MIT Imports: 16 Imported by: 0

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
}

func New

func New(this *Handler) *Handler

func (*Handler) Run

func (h *Handler) Run() error

type HealthChecker

type HealthChecker struct {
	grpc_health_v1.HealthServer
}

func NewHealthChecker

func NewHealthChecker() *HealthChecker

NewHealthChecker new check grpc health

func (*HealthChecker) Check

Check check grpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL