grpc

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(config *Grpc)

Types

type Grpc

type Grpc struct {
	Host                   string
	Port                   int
	ConnectMaxMultiplexNum uint32 //连接最大复用次数
	Services               []Service
	Consumers              []string
}

func Get

func Get() *Grpc

type Service

type Service struct {
	RegisterFun any
	Handle      any
}

Jump to

Keyboard shortcuts

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