Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbortWithError ¶
AbortWithError stops the chain, writes the status code and the given error
func IsInternalServerError ¶
func IsNotFound ¶
Types ¶
type Error ¶
type Error struct {
Status string `json:"status"`
Code int `json:"code"`
Message string `json:"message"`
Details string `json:"details"`
}
func NewInternalServerError ¶
func NewNotFoundError ¶
Click to show internal directories.
Click to hide internal directories.