Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC proto

Common gRPC proto files interaction in golang.

Health Check

This is directly using google.golang.org/grpc/health/grpc_health_v1 package with wrapper connectRPC.

// import "github.com/worldline-go/grpc/health"

if err := health.Check(ctx, k.HTTP, awesomev1connect.AwesomeRouterServiceName); err != nil {
    return nil, fmt.Errorf("could not connect to awesome router: %w", err)
}

About

common proto files and code gen

Resources

Stars

0 stars

Watchers

3 watching

Forks

Used by

Contributors

Languages