rpc

package
v0.0.0-...-7c77b90 Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseAllRpcConn

func CloseAllRpcConn()

CloseAllRpcConn closes all connections

func GetRpcConn

func GetRpcConn(name string) *grpc.ClientConn

GetRpcConn is used by RPC client code which needs the connection for a given controller for doing RPC calls with that controller.

func RemoveRpcConn

func RemoveRpcConn(name string)

RemoveRpcConn closes the connection and removes from map

func UpdateRpcConn

func UpdateRpcConn(name, host string, port int)

UpdateRpcConn ... Update RPC connections

Types

type ContextUpdateRequest

type ContextUpdateRequest interface {
}

type ContextUpdateResponse

type ContextUpdateResponse interface {
}

type InstallAppRequest

type InstallAppRequest interface {
}

type InstallAppResponse

type InstallAppResponse interface {
}

Jump to

Keyboard shortcuts

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