Documentation ¶
Index ¶
- type RpcClient
- func (r *RpcClient) CheckExpire(err error) bool
- func (r *RpcClient) Execute(cmd *proto.CommandRequest) (*proto.ExecuteResponse, error)
- func (r *RpcClient) ExecuteAsync(cmd *proto.CommandRequest) (*proto.ExecuteAsyncResponse, error)
- func (r *RpcClient) ExecuteWithPrivateKey(cmd *proto.CommandRequest) (*proto.ExecuteResponse, error)
- func (r *RpcClient) GetContextWithToken() context.Context
- func (r *RpcClient) Query(cmd *proto.CommandRequest) (*proto.QueryResponse, error)
- func (r *RpcClient) QueryPrivateData(cmd *proto.CommandRequest) (*proto.QueryResponse, error)
- func (r *RpcClient) QueryPrivateDataWithAddress(cmd *proto.QueryPrivateWithAddrRequest) (*proto.QueryResponse, error)
- func (r *RpcClient) UpdateAuth() error
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 (*RpcClient) CheckExpire ¶
func (*RpcClient) Execute ¶
func (r *RpcClient) Execute(cmd *proto.CommandRequest) (*proto.ExecuteResponse, error)
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 (*RpcClient) Query ¶
func (r *RpcClient) Query(cmd *proto.CommandRequest) (*proto.QueryResponse, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.