Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCallRpcHandler ¶
BatchCallRpcHandler represents interface of batch call rpc handler
func BatchCallRpcConsoleMiddleware ¶
func BatchCallRpcConsoleMiddleware(handler BatchCallRpcHandler) BatchCallRpcHandler
BatchCallRpcConsoleMiddleware is the middleware for console request and response when batch call rpc
type BatchCallRpcHandlerFunc ¶
type BatchCallRpcMiddleware ¶
type BatchCallRpcMiddleware func(BatchCallRpcHandler) BatchCallRpcHandler
BatchCallRpcMiddleware represents the middleware for batch call rpc
type CallRpcHandler ¶
type CallRpcHandler interface {
Handle(result interface{}, method string, args ...interface{}) error
}
CallRpcHandler represents interface of call rpc handler
func CallRpcConsoleMiddleware ¶
func CallRpcConsoleMiddleware(handler CallRpcHandler) CallRpcHandler
CallRpcConsoleMiddleware is the middleware for console request and response when call rpc
type CallRpcHandlerFunc ¶
func (CallRpcHandlerFunc) Handle ¶
func (c CallRpcHandlerFunc) Handle(result interface{}, method string, args ...interface{}) error
type CallRpcMiddleware ¶
type CallRpcMiddleware func(CallRpcHandler) CallRpcHandler
CallRpcMiddleware represents the middleware for call rpc
Click to show internal directories.
Click to hide internal directories.