Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "s3file"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enable bool `env:"S3_FILE_ENABLE" default:"false" yaml:"enable"` AutoCreateBucket bool `env:"S3_FILE_AUTO_CREATE_BUCKET" default:"true" yaml:"autoCreateBucket"` URL string `env:"S3_FILE_URL" yaml:"url"` AccessKeyID string `env:"S3_FILE_ACCESS_KEY_ID" yaml:"accessKeyId"` AccessKey string `env:"S3_FILE_ACCESS_KEY" yaml:"accessKey"` Timeout time.Duration `env:"S3_FILE_TIMEOUT" default:"30s" yaml:"timeout"` UseSSL bool `env:"S3_FILE_USE_SSL" default:"true" yaml:"useSsl"` }
Click to show internal directories.
Click to hide internal directories.