rpc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRpc

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

func NewHttpRpc

func NewHttpRpc(addr, pattern string, rpc *jsonrpc.JsonRpc) (*HttpRpc, error)

func (*HttpRpc) Close

func (h *HttpRpc) Close(timeout time.Duration) error

func (*HttpRpc) ListenAndServe

func (h *HttpRpc) ListenAndServe(errCh chan<- error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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