Versions in this module Expand all Collapse all v4 v4.0.1 Sep 28, 2023 v4.0.0 Sep 28, 2023 Changes in this version + type Config struct + AccessKey string + Bucket string + Endpoint string + HostnameImmutable *bool + Region string + SecretKey string + UseSsl *bool + type File interface + ETag func() string + Key func() string + LastModified func() time.Time + Size func() int64 + Type func() string + type Goss struct + func New(opts ...Option) (*Goss, error) + type Option func(goss *Goss) + func WithConfig(config *Config) Option + type Store interface + Delete func(ctx context.Context, key string) error + Exists func(ctx context.Context, key string) (bool, error) + Files func(ctx context.Context, dir string) ([]File, error) + Get func(ctx context.Context, key string) (io.ReadCloser, error) + GetBytes func(ctx context.Context, key string) ([]byte, error) + GetString func(ctx context.Context, key string) (string, error) + GetToFile func(ctx context.Context, key string, localPath string) error + Put func(ctx context.Context, key string, r io.Reader) error + PutFromFile func(ctx context.Context, key string, localPath string) error + Size func(ctx context.Context, key string) (int64, error) Other modules containing this package github.com/eleven26/goss github.com/eleven26/goss/v2 github.com/eleven26/goss/v3