Documentation
¶
Overview ¶
Package s3 is a minimal client for S3-compatible object storage: put, delete and a write check.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Endpoint string // e.g. https://<account>.r2.cloudflarestorage.com
Region string
Bucket string
AccessKey string
SecretKey string
HTTP *http.Client
}
func (*Client) Check ¶
Check proves the credentials can write to the bucket by putting and removing a small object.
Click to show internal directories.
Click to hide internal directories.