WithAutoExtension is an option that auto splice extension, default is true.
(auto bool)
| 85 | |
| 86 | // WithAutoExtension is an option that auto splice extension, default is true. |
| 87 | func WithAutoExtension(auto bool) ManagerOptionFunc { |
| 88 | return func(c *ManagerConfig) { |
| 89 | c.autoExtension = auto |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | // NewManager creates a new S3 manager |
| 94 | func NewManager(accessKey, accessSecret, endpoint, region, bucket string, opts ...ManagerOptionFunc) *Manager { |
no outgoing calls