Documentation
¶
Index ¶
- func DownloadHandler(ctx context.Context, piece string, api string, config map[string]string, ...) error
- type Error
- func NewBadRequestError(err error) *Error
- func NewBadRequestString(err string) *Error
- func NewConflictError(err error) *Error
- func NewConflictString(err string) *Error
- func NewHTTPError(code int, err string) *Error
- func NewHandlerError(err error) *Error
- func NewNotFoundError(err error) *Error
- func NewNotFoundString(err string) *Error
- type HTTPError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Error ¶
func NewBadRequestError ¶
func NewBadRequestString ¶
func NewConflictError ¶ added in v0.2.42
func NewConflictString ¶ added in v0.2.42
func NewHTTPError ¶ added in v0.2.8
func NewHandlerError ¶
func NewNotFoundError ¶ added in v0.2.42
func NewNotFoundString ¶ added in v0.2.42
func (*Error) HTTPResponse ¶ added in v0.2.8
Click to show internal directories.
Click to hide internal directories.