Documentation ¶
Overview ¶
Package common contains common utilities and functions used by the service.
Index ¶
Constants ¶
View Source
const (
PackageName = "github.com/flashbots/system-api"
)
Variables ¶
View Source
var Version = "dev"
Functions ¶
func LoggingMiddlewareSlog ¶
LoggingMiddlewareSlog logs the incoming HTTP request & its duration.
func SetupLogger ¶
func SetupLogger(opts *LoggingOpts) (log *slog.Logger)
Types ¶
Click to show internal directories.
Click to hide internal directories.