rpc

package
v0.0.0-...-c57a2f4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Conn net.Conn

Functions

func Serve

func Serve(port string)

The Serve function listens json-rpc server on specified port

Types

type RPCConnection

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

func (*RPCConnection) Close

func (c *RPCConnection) Close() error

func (*RPCConnection) Read

func (c *RPCConnection) Read(p []byte) (n int, err error)

func (*RPCConnection) Write

func (c *RPCConnection) Write(d []byte) (n int, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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