Documentation ¶
Overview ¶
Package api provides implementation of aptly REST API
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricsCollectorRegistrar = metricsCollectorRegistrar{/* contains filtered or unexported fields */}
Functions ¶
func AbortWithJSONError ¶ added in v1.5.1
func JSONLogger ¶ added in v1.5.1
func JSONLogger() gin.HandlerFunc
JSONLogger is a gin middleware that takes an instance of Logger and uses it for writing access logs that include error messages if there are any.
Types ¶
Click to show internal directories.
Click to hide internal directories.