jsonrpc

package
v2.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFilter

type ClientFilter struct {
	Version string
	// contains filtered or unexported fields
}

ClientFilter is a JSONRPC Client Filter

func NewClientFilter

func NewClientFilter(version string) *ClientFilter

NewClientFilter is a constructor for JSONRPCClientFilter

func (*ClientFilter) InputFilter

func (filter *ClientFilter) InputFilter(data []byte, context rpc.Context) []byte

InputFilter for JSONRPC Client

func (*ClientFilter) OutputFilter

func (filter *ClientFilter) OutputFilter(data []byte, context rpc.Context) []byte

OutputFilter for JSONRPC Client

type ServiceFilter

type ServiceFilter struct{}

ServiceFilter is a JSONRPC Service Filter

func (ServiceFilter) InputFilter

func (filter ServiceFilter) InputFilter(data []byte, context rpc.Context) []byte

InputFilter for JSONRPC Service

func (ServiceFilter) OutputFilter

func (filter ServiceFilter) OutputFilter(data []byte, context rpc.Context) []byte

OutputFilter for JSONRPC Service

Jump to

Keyboard shortcuts

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