Documentation
¶
Index ¶
Constants ¶
View Source
const ( MimeTypeJSON = "application/json" MimeTypeJpeg = "image/jpeg" MimeTypePng = "image/png" MimeTypeZip = "application/zip" )
Variables ¶
View Source
var ErrNotFound = &ExternalAPIError{StatusCode: 404, Message: "Not found"}
Functions ¶
This section is empty.
Types ¶
type ContentTypeValidator ¶ added in v0.3.1
type ContentTypeValidator struct {
// contains filtered or unexported fields
}
type ExternalAPIError ¶ added in v0.3.2
func (ExternalAPIError) Error ¶ added in v0.3.2
func (e ExternalAPIError) Error() string
func (ExternalAPIError) Is ¶ added in v0.3.2
func (e ExternalAPIError) Is(target error) bool
type MimeType ¶ added in v0.3.1
type MimeType struct {
Value string
}
func NewMimeType ¶ added in v0.3.1
func (MimeType) BuildFilename ¶ added in v0.3.1
Click to show internal directories.
Click to hide internal directories.