Documentation
¶
Overview ¶
Package objectstorage defines the transport-agnostic object-storage event contract shared by storage-event adapters (SQS, SNS, EventBridge, …). An adapter parses its source notification into an Event and dispatches it through a Router; application handlers depend only on this package, never on the delivery mechanism.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
Event is a parsed, URL-decoded object-storage record (e.g. an S3 object notification) extracted from a delivery message.
type EventHandler ¶
EventHandler processes a single object-storage event.
type EventHandlerRegisterer ¶
type EventHandlerRegisterer interface {
Register(eventName string, h EventHandler)
}
EventHandlerRegisterer maps event names (e.g. "ObjectCreated:*") to handlers; implemented by Router.
Click to show internal directories.
Click to hide internal directories.