
server
Index
type MultipartStore
MultipartStore manages in-progress multipart uploads in memory.
func NewMultipartStore
NewMultipartStore creates a store with the given TTL for abandoned uploads.
func (*MultipartStore) CleanExpired
CleanExpired removes uploads older than the configured TTL.
func (*MultipartStore) StartCleanupLoop
StartCleanupLoop runs a background goroutine that periodically removes expired uploads. Stops when the context is cancelled.
type Server
Server is the S3-compatible HTTP handler.
func New
New creates an S3 server backed by the given ObjectBackend and BucketRegistry. Initializes an in-memory multipart upload store with a 1-hour TTL for abandoned uploads.
func (*Server) ServeHTTP
ServeHTTP dispatches S3 API requests. Every request gets a request ID, server span, and audit log entry.
func (*Server) StartMultipartCleanup
StartMultipartCleanup begins a background goroutine that removes expired multipart uploads. Stops when the context is cancelled.
Generated by gomarkdoc