Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatusCode ¶
StatusCode is a reverse function of http.StatusText.
Types ¶
type HTTPError ¶
HTTPError implements error interface with HTTP status code.
func (*HTTPError) MarshalJSON ¶
func (*HTTPError) StatusCode ¶
Click to show internal directories.
Click to hide internal directories.