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.
Click to show internal directories.
Click to hide internal directories.