grpc

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointConfig

type EndpointConfig struct {
	Address string `value:"${address:=localhost:9090}"`
}

EndpointConfig gRPC 客户端配置。

type Server

type Server struct {
	Register interface{} // 服务注册函数
	Service  interface{} // 服务提供者
}

type ServerConfig

type ServerConfig struct {
	Port int `value:"${port:=9090}"`
}

ServerConfig gRPC 服务器配置。

Jump to

Keyboard shortcuts

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