authelia/internal/handlers/handler_status.go

13 lines
244 B
Go

package handlers
import (
"github.com/valyala/fasthttp"
)
// Status handles basic status responses.
func Status(statusCode int) fasthttp.RequestHandler {
return func(ctx *fasthttp.RequestCtx) {
SetStatusCodeResponse(ctx, statusCode)
}
}