Documentation
¶
Index ¶
- Constants
- func BadRequestException(w http.ResponseWriter, err string)
- func ConflictException(w http.ResponseWriter, err string)
- func Exception(w http.ResponseWriter, err error, statusCode int)
- func ForbiddenException(w http.ResponseWriter, err string)
- func InternalServerException(w http.ResponseWriter, err string)
- func NotAllowedException(w http.ResponseWriter, err string)
- func NotFoundException(w http.ResponseWriter, err string)
- func UnauthorizedException(w http.ResponseWriter, err string)
Constants ¶
View Source
const MaxInt = int(MaxUint >> 1)
View Source
const MaxUint = ^uint(0)
Variables ¶
This section is empty.
Functions ¶
func BadRequestException ¶
func BadRequestException(w http.ResponseWriter, err string)
func ConflictException ¶
func ConflictException(w http.ResponseWriter, err string)
func ForbiddenException ¶
func ForbiddenException(w http.ResponseWriter, err string)
func InternalServerException ¶
func InternalServerException(w http.ResponseWriter, err string)
func NotAllowedException ¶
func NotAllowedException(w http.ResponseWriter, err string)
func NotFoundException ¶
func NotFoundException(w http.ResponseWriter, err string)
func UnauthorizedException ¶
func UnauthorizedException(w http.ResponseWriter, err string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.