client

package
v0.0.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCallRequest

func NewCallRequest(funcName string, args ...interface{}) zrpc.CallRequest

func RemoveClient added in v0.0.17

func RemoveClient(port int)

Types

type RpcClient added in v0.0.15

type RpcClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(port int) (client *RpcClient, err error)

func (RpcClient) Call added in v0.0.15

func (c RpcClient) Call(request zrpc.CallRequest) *zrpc.CallResult

func (RpcClient) TransCall added in v0.0.15

func (c RpcClient) TransCall(request zrpc.CallRequest, v interface{}) (success bool, msg string)

type ServerCenterClient added in v0.0.11

type ServerCenterClient struct {
}

func (*ServerCenterClient) ExecuteApp added in v0.0.11

func (*ServerCenterClient) ExecuteApp(AppName, FuncName string, args ...interface{}) (success bool, msg string, data map[string]interface{}, err error)

func (*ServerCenterClient) LogoutApp added in v0.0.11

func (*ServerCenterClient) LogoutApp(AppName string) (success bool, msg string, data map[string]interface{}, err error)

Jump to

Keyboard shortcuts

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