rpc

package
v0.0.0-...-f5f0bdb Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPath = "/"

DefaultPath ...

View Source
var DefaultPort = 9933

DefaultPort ...

View Source
var DefaultTypes = []string{"http", "ws"}

DefaultTypes ...

Functions

func New

func New(host libp2pHost.Host, id *protocol.ID) (*gorpc.Client, error)

New returns a new rpc client

func NewServer

func NewServer(config clienttypes.ConfigRPC) (*gorpc.Server, error)

NewServer returns a new rpc server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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