Directories
¶
Path | Synopsis |
---|---|
Package blocksub implements an Ethereum block subscriber that works with polling and/or websockets.
|
Package blocksub implements an Ethereum block subscriber that works with polling and/or websockets. |
Package cli implements various reusable utility functions for command-line interfaces.
|
Package cli implements various reusable utility functions for command-line interfaces. |
Package envflag is a wrapper for stdlib's flag that adds the environment variables as additional source of the values for flags.
|
Package envflag is a wrapper for stdlib's flag that adds the environment variables as additional source of the values for flags. |
examples
|
|
blocksub
Example for multiple subscribers
|
Example for multiple subscribers |
Package httplogger implements a middleware that logs the incoming HTTP request & its duration using go-ethereum-log or logrus
|
Package httplogger implements a middleware that logs the incoming HTTP request & its duration using go-ethereum-log or logrus |
Package jsonrpc is a minimal JSON-RPC implementation
|
Package jsonrpc is a minimal JSON-RPC implementation |
Package logutils implements helpers for logging.
|
Package logutils implements helpers for logging. |
Package rpcclient is used to do jsonrpc calls with Flashbots request signatures (X-Flashbots-Signature header)
|
Package rpcclient is used to do jsonrpc calls with Flashbots request signatures (X-Flashbots-Signature header) |
Package rpcserver allows exposing functions like: func Foo(context, int) (int, error) as a JSON RPC methods
|
Package rpcserver allows exposing functions like: func Foo(context, int) (int, error) as a JSON RPC methods |
Package rpctypes implement types commonly used in the Flashbots codebase for receiving and senging requests
|
Package rpctypes implement types commonly used in the Flashbots codebase for receiving and senging requests |
Package signature provides functionality for interacting with the X-Flashbots-Signature header.
|
Package signature provides functionality for interacting with the X-Flashbots-Signature header. |
Package tls provides utilities for generating self-signed TLS certificates.
|
Package tls provides utilities for generating self-signed TLS certificates. |
Package truthy implements helpers to test the truthy-ness of the values.
|
Package truthy implements helpers to test the truthy-ness of the values. |
Click to show internal directories.
Click to hide internal directories.