client

package
v0.0.0-...-d704c37 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcClient

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

func NewRpcClient

func NewRpcClient(address string, password string) (*RpcClient, error)

func (*RpcClient) CheckExpire

func (r *RpcClient) CheckExpire(err error) bool

func (*RpcClient) Execute

func (*RpcClient) ExecuteAsync

func (r *RpcClient) ExecuteAsync(cmd *proto.CommandRequest) (*proto.ExecuteAsyncResponse, error)

func (*RpcClient) ExecuteWithPrivateKey

func (r *RpcClient) ExecuteWithPrivateKey(cmd *proto.CommandRequest) (*proto.ExecuteResponse, error)

func (*RpcClient) GetContextWithToken

func (r *RpcClient) GetContextWithToken() context.Context

func (*RpcClient) Query

func (*RpcClient) QueryPrivateData

func (r *RpcClient) QueryPrivateData(cmd *proto.CommandRequest) (*proto.QueryResponse, error)

func (*RpcClient) QueryPrivateDataWithAddress

func (r *RpcClient) QueryPrivateDataWithAddress(cmd *proto.QueryPrivateWithAddrRequest) (*proto.QueryResponse, error)

func (*RpcClient) UpdateAuth

func (r *RpcClient) UpdateAuth() error

Jump to

Keyboard shortcuts

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