Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResponseStatus = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "response_status", Help: "Status of HTTP response", }, []string{"status"}, )
View Source
var TotalRequests = prometheus.NewCounterVec( prometheus.CounterOpts{ Name: "http_requests_total", Help: "Number of get requests.", }, []string{"path"}, )
Functions ¶
func AuthRequired ¶
func Authorization ¶
func Authorization(e *casbin.Enforcer) gin.HandlerFunc
func Logger ¶
func Logger(loggingURL string) gin.HandlerFunc
func Prometheus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.