// Package entity holds upload credential types. Message content stores the object key only. package entity type Credential struct { ObjectKey string `json:"object_key"` UploadURL string `json:"upload_url"` Method string `json:"method"` Headers map[string]string `json:"headers"` ExpiresIn int64 `json:"expires_in"` } type Download struct { ObjectKey string `json:"object_key"` DownloadURL string `json:"download_url"` Method string `json:"method"` ExpiresIn int64 `json:"expires_in"` }