s3-share/internal/types/types.go
2022-05-10 22:46:28 +02:00

23 lines
340 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
ETag string
}