clrpcclient

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

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

Go to latest
Published: Sep 16, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package clrpcclient implements client RPC methods for github.com/JonathanLogan/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 github.com/JonathanLogan/cypherlock rpc client.

func NewRPCClient

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

NewPRCClient 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