Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrHTTPNotFound HTTP status code 404 ErrHTTPNotFound = int64(404) // ErrHTTPConflict HTTP status code 409 ErrHTTPConflict = int64(409) // ErrHTTPInternalServerError HTTP status code 500 ErrHTTPInternalServerError = int64(500) // ErrHTTPBadRequest HTTP status code 400 ErrHTTPBadRequest = int64(400) )
Variables ¶
This section is empty.
Functions ¶
func DiscoverChildPaths ¶
DiscoverChildPaths return children models.Endpoints given path
func HandleError ¶
HandleError translates error codes from client native into models.Error with appropriate http status code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.