comms

package
v0.9.30 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: LGPL-2.1-or-later Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIpcClient

func NewIpcClient(cfg IpcConfig, codec codec.Codec) (*ipcClient, error)

Create a new IPC client, UNIX domain socket on posix, named pipe on Windows

func StartIpc

func StartIpc(cfg IpcConfig, codec codec.Codec, apis ...api.EthereumApi) error

Start IPC server

Types

type EthereumClient

type EthereumClient interface {
	Close()
	Send(interface{}) error
	Recv() (interface{}, error)
}

type IpcConfig

type IpcConfig struct {
	Endpoint string
}

Jump to

Keyboard shortcuts

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