grpchttp

package
Version: v0.0.0-...-4e7e9c9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAndStart

func RegisterAndStart(srv interface{}, desc *grpc.ServiceDesc, port int) string

RegisterAndStart 注册并启动

func RegisterHandler

func RegisterHandler(reg grpc.ServiceRegistrar, srv interface{}, desc *grpc.ServiceDesc)

RegisterHandler 注册Handler

func RegisterWithGoZero

func RegisterWithGoZero(srv interface{}, desc *grpc.ServiceDesc, httpServer *rest.Server)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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