Documentation ¶
Index ¶
- Constants
- func ConcatenateErrors(errs *[]error) string
- func DownloadFile(url, loc string) error
- func GenerateSlug(str string) (slug string)
- func ProcessMessage(key string, bucket string, size int64)
- func S3FileExists(bucket, path string) bool
- func S3FileSize(bucket, path string) int64
- func ValidateSignature(request *gottp.Request) bool
- type Asset
- type Assets
- type Record
- type SNS
- type Thumbnail
Constants ¶
View Source
const ( AudioFile = "audio" ImageFile = "image" VideoFile = "video" PlainFile = "plain" )
View Source
const DefaultCollection = "assets"
View Source
const SNS_SUBSCRIPTIONCONFIRMATION_TYPE = "SubscriptionConfirmation"
View Source
const TemporaryRedirect = 302
View Source
const TemporaryRedirectCode = 302
View Source
const UploadPrefix = "original_file"
Variables ¶
This section is empty.
Functions ¶
func ConcatenateErrors ¶
func DownloadFile ¶
func GenerateSlug ¶
func ProcessMessage ¶
func S3FileExists ¶
func S3FileSize ¶
func ValidateSignature ¶
func ValidateSignature(request *gottp.Request) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.