package
0.0.0-20241209051200-0ba0ddf9c8aa
Repository: https://github.com/epicchainlabs/epicchain-node.git
Documentation: pkg.go.dev

# Functions

Handler returns http.Handler for the Prometheus metrics collector.
New creates a new instance of the Server.
WithShutdownTimeout returns an option to set shutdown timeout of the internal HTTP server.

# Structs

Prm groups the required parameters of the Server's constructor.
Server represents a wrapper over http.Server that provides an interface to start and stop listening routine.

# Type aliases

Option sets an optional parameter of Server.