middleware

package
v1.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCallRpcHandler

type BatchCallRpcHandler interface {
	Handle(b []rpc.BatchElem) error
}

func BatchCallRpcConsoleMiddleware

func BatchCallRpcConsoleMiddleware(handler BatchCallRpcHandler) BatchCallRpcHandler

type BatchCallRpcHandlerFunc

type BatchCallRpcHandlerFunc func(b []rpc.BatchElem) error

func (BatchCallRpcHandlerFunc) Handle

func (brh BatchCallRpcHandlerFunc) Handle(b []rpc.BatchElem) error

type BatchCallRpcMiddleware

type BatchCallRpcMiddleware func(BatchCallRpcHandler) BatchCallRpcHandler

type CallRpcHandler

type CallRpcHandler interface {
	Handle(result interface{}, method string, args ...interface{}) error
}

func CallRpcConsoleMiddleware

func CallRpcConsoleMiddleware(handler CallRpcHandler) CallRpcHandler

type CallRpcHandlerFunc

type CallRpcHandlerFunc func(result interface{}, method string, args ...interface{}) error

func (CallRpcHandlerFunc) Handle

func (c CallRpcHandlerFunc) Handle(result interface{}, method string, args ...interface{}) error

type CallRpcMiddleware

type CallRpcMiddleware func(CallRpcHandler) CallRpcHandler

Jump to

Keyboard shortcuts

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