mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
13 lines
244 B
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)
|
||
|
}
|
||
|
}
|