s3Storage.go 521 B

1234567891011121314
  1. package models
  2. // S3 is the storage configuration.
  3. type S3 struct {
  4. Enabled bool `json:"enabled"`
  5. Endpoint string `json:"endpoint,omitempty"`
  6. ServingEndpoint string `json:"servingEndpoint,omitempty"`
  7. AccessKey string `json:"accessKey,omitempty"`
  8. Secret string `json:"secret,omitempty"`
  9. Bucket string `json:"bucket,omitempty"`
  10. Region string `json:"region,omitempty"`
  11. ACL string `json:"acl,omitempty"`
  12. ForcePathStyle bool `json:"forcePathStyle"`
  13. }