authelia/internal/handlers/handler_status.go

13 lines
244 B
Go
Raw Permalink Normal View History

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)
}
}