handler

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecRegisterGinHandler

func ExecRegisterGinHandler(ctx context.Context, ginRouter *gin.Engine)

ExecRegisterGinHandler 注册gin服务

func ExecRegisterGrpcServiceServer

func ExecRegisterGrpcServiceServer(ctx context.Context, grpcServer *grpc.Server)

ExecRegisterGrpcServiceServer 注册grpc服务处理器

Types

type GrpcGwRegister

type GrpcGwRegister func(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

func ExecRegisterGrpcGatewayEndpoint

func ExecRegisterGrpcGatewayEndpoint(ctx context.Context) []GrpcGwRegister

ExecRegisterGrpcGatewayEndpoint 注册grpc gateway 端点

Directories

Path Synopsis
api
v1

Jump to

Keyboard shortcuts

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