Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApp ¶
func BuildApp(engine dorasengine.Engine, exposeMetrics bool) *gin.Engine
BuildApp return an engine that when ran servers the Doras API. Uses the provided configuration to set up logging, storage and other things.
func PrometheusMiddleware ¶ added in v0.14.10
func PrometheusMiddleware() gin.HandlerFunc
PrometheusMiddleware is a Gin middleware that instruments HTTP requests.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.