grpc

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient

type GRPCClient interface {
	AddService(serviceClientFunc GRPCClientFunc)
	Close() error
}

func NewgRPCClient

func NewgRPCClient(address string) GRPCClient

type GRPCClientFunc

type GRPCClientFunc func(*grpc.ClientConn)

type GRPCServer

type GRPCServer interface {
	RegisterServer(GRPCServerFunc)
	ListenAndServe()
}

func NewgRPCServer

func NewgRPCServer(address string, registerServerFunc GRPCServerFunc) GRPCServer

type GRPCServerFunc

type GRPCServerFunc func(*grpc.Server)

Jump to

Keyboard shortcuts

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