22 lines
320 B
Go
22 lines
320 B
Go
package types
|
|
|
|
type Share struct {
|
|
Slug string `json:"slug"`
|
|
Key string `json:"key"`
|
|
}
|
|
|
|
type AppConfig struct {
|
|
S3Endpoint string
|
|
S3AccessKey string
|
|
S3SecretKey string
|
|
S3SSL bool
|
|
S3Bucket string
|
|
Address string
|
|
}
|
|
|
|
type Metadata struct {
|
|
Size int64
|
|
ContentType string
|
|
Filename string
|
|
}
|