rpc

package
v0.0.0-...-13646a0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RpcSetup

func RpcSetup(c *config.Config) (net.Listener, *grpc.Server, error)

Types

type Server

type Server struct {
	pb.UnsafeServiceNameServer
	Config *config.Config
}

func (*Server) HealthCheck

func (s *Server) HealthCheck(ctx context.Context, req *pb.HealthRequest) (*pb.HealthStatus, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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