grpc

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 0 Imported by: 5

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 is the configuration of the grpc client.

type Server

type Server struct {
	Register interface{} // register function
	Service  interface{} // service provider
}

A Server is a service provider and its register function.

type ServerConfig

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

ServerConfig is the configuration of the grpc server.

Jump to

Keyboard shortcuts

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