rpc

package module
v0.0.0-...-db11ca5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoopbackRPC

func NewLoopbackRPC() (*RPC, *RPC)

Types

type RPC

type RPC struct {
	Exports map[string]interface{}

	R io.Reader
	W io.Writer
	// contains filtered or unexported fields
}

func NewCommandRPC

func NewCommandRPC(c *exec.Cmd) *RPC

func NewRPC

func NewRPC() *RPC

func NewStdioRPC

func NewStdioRPC() *RPC

func (*RPC) Call

func (r *RPC) Call(name string, args ...interface{}) []interface{}

func (*RPC) Export

func (r *RPC) Export(name string, f interface{})

func (*RPC) Start

func (r *RPC) Start()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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