trans

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EndingPoint = ":52242"
)

Variables

This section is empty.

Functions

func HulkGoRun

func HulkGoRun(hulkGo *HulkGo)

Types

type HulkGo

type HulkGo struct {
	RegisterGRPC func(grpcServer *grpc.Server) error
	//RegisterGW              func(ctx context.Context, gateway *runtime.ServeMux, endPoint string, dopts []grpc.DialOption) error
	UnaryServerInterceptors []grpc.UnaryServerInterceptor
}

HulkGo 执行grpc服务与http结构体

func (*HulkGo) RunGrpc

func (hg *HulkGo) RunGrpc()

Jump to

Keyboard shortcuts

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