Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Config ¶
type S3Config struct {
Region string
Bucket string
AccessKeyID string
SecretAccessKey string
Endpoint string // optional; leave empty for real AWS S3
}
S3Config carries the per-request S3 credentials and target. Your Majesty should populate this from whatever source is appropriate (database, JWT claims, request headers, etc.)
type S3Provider ¶
type S3Provider struct {
// contains filtered or unexported fields
}
func NewS3Provider ¶
func NewS3Provider(cfg S3Config) (*S3Provider, error)
func (*S3Provider) CreateFolder ¶
func (*S3Provider) ToTusHandler ¶
Click to show internal directories.
Click to hide internal directories.