rpc

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: GPL-3.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouter

func NewRouter(store storage.Store, node *kernel.Node) *httptreemux.TreeMux

func StartHTTP

func StartHTTP(store storage.Store, node *kernel.Node, port int) error

Types

type Call

type Call struct {
	Method string        `json:"method"`
	Params []interface{} `json:"params"`
}

type R

type R struct {
	Store storage.Store
	Node  *kernel.Node
}

Jump to

Keyboard shortcuts

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