grpc

package
v0.0.0-...-e058302 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0, MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCServer

func NewGRPCServer(params grpcServerParams) *fxgrpc.GRPCServer

func NewHTTPGatewayHandler

func NewHTTPGatewayHandler() *fxgrpc.HTTPGatewayHandler

func NewLivenessGateway

func NewLivenessGateway() *fxgrpc.LivenessGatewayHandler

func RunHTTPGateway

func RunHTTPGateway(
	lc fx.Lifecycle,
	s fx.Shutdowner,
	logger *zap.Logger,
	cfg *fxgrpc.Config,
	g *fxgrpc.HTTPGatewayHandler,
) error

Types

type Handler

type Handler struct {
	pbv1.NetworkWardenServiceServer
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(params handlerParams) *Handler

Jump to

Keyboard shortcuts

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