Documentation
¶
Overview ¶
Package blob reads raw messages from S3-compatible object storage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrObjectNotFound = errors.New("blob: object not found")
ErrObjectNotFound reports a missing S3 object.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
S3 reads objects from an S3-compatible bucket. It is safe for concurrent use.
func NewS3 ¶
NewS3 creates an S3 client from configuration. The endpoint may be empty for AWS S3; for R2, B2, or self-hosted storage it must include the scheme.
func (*S3) Get ¶
Get downloads an object. key is the object key as stored in the message's s3_key column, without a bucket prefix.
Click to show internal directories.
Click to hide internal directories.