Documentation
¶
Index ¶
- func IsS3NotFound(err error) bool
- func S3Get(ctx context.Context, s3c S3Getter, bucket, key string, ...) error
- func S3GetJson(ctx context.Context, s3c S3Getter, bucket, key string, v any) error
- func S3GetJsonWithLastModified(ctx context.Context, s3c S3Getter, bucket, key string, v any) (time.Time, error)
- func S3GetRaw(ctx context.Context, s3c S3Getter, bucket, key string) ([]byte, error)
- func S3GetWithLastModified(ctx context.Context, s3c S3Getter, bucket, key string, ...) (time.Time, error)
- func S3PutJson(ctx context.Context, s3c S3Putter, bucket, key string, v any) error
- func S3PutRaw(ctx context.Context, s3c S3Putter, bucket, key string, b []byte) error
- type S3Getter
- type S3Lister
- type S3Putter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsS3NotFound ¶
func S3GetWithLastModified ¶
Types ¶
type S3Getter ¶
type S3Getter interface {
GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
}
Click to show internal directories.
Click to hide internal directories.