Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDownloadRoutes ¶
AddDownloadRoutes adds /download/* routes to the gin HTTP router
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Errors []string `json:"errors"`
}
ErrorResponse TODO(doc)
func NewErrorResponse ¶
func NewErrorResponse(err error) ErrorResponse
NewErrorResponse returns a new ErrorResponse from a given error.
Click to show internal directories.
Click to hide internal directories.