Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultStatusText string = "Bad Request"
View Source
const (
ErrNilHTTPResponseWriter = erorr.Error("http400: nil http-response-writer")
)
View Source
const (
StatusCode = http.StatusBadRequest
)
Variables ¶
This section is empty.
Functions ¶
func BadRequest ¶
func BadRequest(responseWriter http.ResponseWriter, request *http.Request)
func Serve ¶
func Serve(responseWriter http.ResponseWriter) error
func ServeBytes ¶
func ServeBytes(responseWriter http.ResponseWriter, bytes []byte) error
func ServeString ¶
func ServeString(responseWriter http.ResponseWriter, value string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.