s3-share/internal/types/types.go

23 lines
340 B
Go
Raw Normal View History

2022-05-09 12:52:18 +00:00
package types
type Share struct {
Slug string `json:"slug"`
Key string `json:"key"`
}
2022-05-09 14:10:05 +00:00
type AppConfig struct {
S3Endpoint string
S3AccessKey string
S3SecretKey string
S3SSL bool
S3Bucket string
Address string
}
2022-05-10 10:49:34 +00:00
type Metadata struct {
Size int64
ContentType string
Filename string
2022-05-10 20:46:28 +00:00
ETag string
2022-05-10 10:49:34 +00:00
}