Documentation ¶
Index ¶
- func ApiKeyAuthMiddleware(pathPrefix string, apiKey string) gin.HandlerFunc
- func CorsMiddleware() gin.HandlerFunc
- func MetricsMiddleware(metricsURL string, engine *gin.Engine) gin.HandlerFunc
- func RequestLogsForClients() ...
- func RequestLogsMiddleware(logRequests bool) gin.HandlerFunc
- type Health
- type HealthResponse
- type ResponseBodyWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiKeyAuthMiddleware ¶
func ApiKeyAuthMiddleware(pathPrefix string, apiKey string) gin.HandlerFunc
func CorsMiddleware ¶
func CorsMiddleware() gin.HandlerFunc
func MetricsMiddleware ¶
func MetricsMiddleware(metricsURL string, engine *gin.Engine) gin.HandlerFunc
func RequestLogsForClients ¶
func RequestLogsMiddleware ¶
func RequestLogsMiddleware(logRequests bool) gin.HandlerFunc
Types ¶
type Health ¶
type Health struct {
AlexaClient client.IAlexaClient
}
func NewHealth ¶
func NewHealth(alexaClient client.IAlexaClient) *Health
type ResponseBodyWriter ¶
type ResponseBodyWriter struct { gin.ResponseWriter // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.