grpcgateway

package
v0.0.67 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterServices

func RegisterServices(ctx context.Context, grpcServer grpc.ServiceRegistrar, mux *runtime.ServeMux, conn *grpc.ClientConn, registrars ...*GRPCServiceRegistrar) error

Types

type GRPCServiceRegistrar

type GRPCServiceRegistrar struct {
	// contains filtered or unexported fields
}

func NewGRPCServiceRegistrar

func NewGRPCServiceRegistrar[GRPCServiceServer interface{}](
	grpcServiceDesc *grpc.ServiceDesc,
	grpcServer GRPCServiceServer,
	grpcGatewayHandler func(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error,
) *GRPCServiceRegistrar

Jump to

Keyboard shortcuts

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