# Functions
BatchCall is a generic method to call RPC in batch.
BatchCallContext is a generic method to call RPC with context in batch.
BatchCallOne is a generic method to call a single RPC in batch.
BatchCallOneContext is generic method to call a single RPC with context in batch.
Call is a generic method to call RPC.
CallContext is a generic method to call RPC with context.
MustNewBaseProvider returns a new BaseProvider.
NewBaseProvider returns a new BaseProvider.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewProviderWithOption returns a new MiddlewareProvider with hook handlers build according to options Note: user could overwrite RequestTimeout when CallContext with timeout context or cancel context.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Option for set retry and timeout options Note: user could overwrite RequestTimeout when CallContext with timeout context or cancel context.
No description provided by the author
No description provided by the author
No description provided by the author
TimeoutableProvider overwrite Call by CallContext with timeout context, make it to internal package to prevent external package to use it.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
type BatchCallFunc func(b []rpc.BatchElem) error.
type BatchCallMiddleware func(BatchCallFunc) BatchCallFunc.
No description provided by the author
type CallFunc func(resultPtr interface{}, method string, args ...interface{}) error.
type CallMiddleware func(CallFunc) CallFunc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author