rpc

package
v0.0.0-...-41dda67 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseClients

func CloseClients() error

func GetConn

func GetConn(serverID string) (*grpc.ClientConn, bool)

func InitClients

func InitClients()

func RemoveConn

func RemoveConn(serverID string)

func StartServer

func StartServer(addr string, service protos.RPCServer) error

func StopServer

func StopServer()

func TryBestCall

func TryBestCall(serverID string, client protos.RPCClient, request *protos.CallRequest) (*protos.CallRespond, error)

func WatchServer

func WatchServer()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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