Documentation ¶
Index ¶
- Constants
- func GetServeStatus(r *http.Request) (status int)
- func Redirect(destination string, w http.ResponseWriter, r *http.Request)
- func Serve204(w http.ResponseWriter, r *http.Request)
- func Serve400(w http.ResponseWriter, r *http.Request)
- func Serve401(w http.ResponseWriter, r *http.Request)
- func Serve403(w http.ResponseWriter, r *http.Request)
- func Serve404(w http.ResponseWriter, r *http.Request)
- func Serve405(w http.ResponseWriter, r *http.Request)
- func Serve500(w http.ResponseWriter, r *http.Request)
- func Serve502(w http.ResponseWriter, r *http.Request)
- func Serve503(w http.ResponseWriter, r *http.Request)
- func ServeBasic401(w http.ResponseWriter, r *http.Request)
- func SetServeStatus(status int, r *http.Request) (modified *http.Request)
Constants ¶
View Source
const (
ServeStatusResponseKey beContext.RequestKey = "ServeStatusResponse"
)
Variables ¶
This section is empty.
Functions ¶
func GetServeStatus ¶ added in v0.2.2
func ServeBasic401 ¶
func ServeBasic401(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.