grpc

package
v0.0.0-...-3680c12 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0, MIT Imports: 17 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 NewGatewayHandler

func NewGatewayHandler() *fxgrpc.HTTPGatewayHandler

func NewLivenessGateway

func NewLivenessGateway() *fxgrpc.LivenessGatewayHandler

func RunHTTPGateway

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

Types

type Handler

type Handler struct {
	pbv1.CoreServiceServer
	// 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