Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupBucket ¶
SetupBucket creates a connection to a particular cloud provider's blob storage.
Types ¶
type ConfigParams ¶
type ConfigParams struct { Cloud string Bucket string Region string AccessKey string SecretKey string Token string URL string }
ConfigParams represents the configuration params for aws
type File ¶
type File struct {
URL string `json:"url"`
}
File represents url of uploaded file swagger:model
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents the uploader service
func NewService ¶
NewService creates new uploader service
Click to show internal directories.
Click to hide internal directories.