clrpcclient

package
v0.0.0-...-339602a Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package clrpcclient implements client RPC methods for Cypherlock access.

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
}

RPCClient is a Cypherlock RPC client.

func NewRPCClient

func NewRPCClient(addr string) (*RPCClient, error)

NewRPCClient connects and returns an rpcclient, addr is "host:port".

func (*RPCClient) Decrypt

func (rc *RPCClient) Decrypt(msg []byte) ([]byte, error)

Decrypt an oraclemessage.

func (*RPCClient) GetKeys

func (rc *RPCClient) GetKeys() ([]byte, error)

GetKeys returns a binary list of keys from the server.

Jump to

Keyboard shortcuts

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