package
0.2.3
Repository: https://github.com/kkrt-labs/go-utils.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package testutils is a generated GoMock package.
No description provided by the author

# Functions

DecodeResponseMsg decodes a JSON-RPC response message from an io.Reader.
WithIncrementalID automatically increments JSON-RPC request ID.
No description provided by the author
WithRetry automatically retries JSON-RPC calls.
It also attaches the provided component name to the default component tag.
WithTimeout automatically sets a timeout for JSON-RPC calls.
WithVersion automatically set JSON-RPC request version.

# Structs

ErrorMsg is a struct allowing to encode/decode an error in a JSON-RPC response body.
Request allows to manipulate a JSON-RPC request.
RequestMsg is a struct allowing to encode/decode a JSON-RPC request body.
ResponseMsg is a struct allowing to encode/decode a JSON-RPC response body.

# Interfaces

No description provided by the author

# Type aliases

ClientDecorator is a function that enable to decorate a JSON-RPC client with additional functionality.
No description provided by the author