Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthereumFetcher ¶
type EthereumFetcher struct {
// contains filtered or unexported fields
}
EthereumFetcher represents the main server for the Ethereum fetcher.
func NewEthereumFetcher ¶
NewEthereumFetcher initializes and returns a new EthereumFetcher.
func (*EthereumFetcher) Listen ¶
func (ef *EthereumFetcher) Listen() error
Listen starts the HTTP server and implements graceful shutdown.
type HandleManager ¶
type HandleManager struct {
// contains filtered or unexported fields
}
HandleManager manages the setup and initialization of routes and handlers.
func NewHandleManager ¶
NewHandleManager creates a new HandleManager with the given database, Ethereum client, and Ethereum URL.
func (*HandleManager) InitRouter ¶
func (hm *HandleManager) InitRouter() *gin.Engine
InitRouter initializes all routes and their respective handlers.
Click to show internal directories.
Click to hide internal directories.