clrpcserver

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: 5 Imported by: 0

Documentation

Overview

Package clrpcserver implements client and server RPC methods to call github.com/JonathanLogan/cypherlock.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCMethods

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

func (*RPCMethods) Decrypt

func (rm *RPCMethods) Decrypt(params types.RPCTypeDecrypt, reply *types.RPCTypeDecryptResponse) error

func (*RPCMethods) GetKeys

func (rm *RPCMethods) GetKeys(params types.RPCTypeNone, reply *types.RPCTypeGetKeysResponse) error

type RPCServer

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

RPCServer implements a github.com/JonathanLogan/cypherlock rpc server over http(s).

func NewRPCServer

func NewRPCServer(server *ratchetserver.RatchetServer, listenAddr string) (*RPCServer, error)

NewRPCServer creates a new RPC server and starts it.

Jump to

Keyboard shortcuts

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