Versions in this module Expand all Collapse all v0 v0.1.1 Sep 2, 2022 v0.1.0 Aug 28, 2022 Changes in this version + type Anonymous struct + func NewAnonymous(baseURL string) (a *Anonymous, err error) + func (g *Anonymous) CanonicalURL(path string) string + func (g *Anonymous) Exists(ctx context.Context, path string) (err error) + func (g *Anonymous) PresignedURLForGet(ctx context.Context, path string, dur time.Duration) (url string, err error) + func (g *Anonymous) PresignedURLForPut(ctx context.Context, path string, dur time.Duration) (string, error) + func (g *Anonymous) Put(ctx context.Context, path string, r io.ReadSeeker) (err error) + type GS struct + func NewGS(ctx context.Context, baseURL string) (g *GS, err error) + func (g *GS) CanonicalURL(path string) string + func (g *GS) Exists(ctx context.Context, path string) (err error) + func (g *GS) PresignedURLForGet(ctx context.Context, path string, dur time.Duration) (string, error) + func (g *GS) PresignedURLForPut(ctx context.Context, path string, dur time.Duration) (string, error) + func (g *GS) Put(ctx context.Context, path string, r io.ReadSeeker) (err error) + type S3 struct + func NewS3(ctx context.Context, baseURL string) (s *S3, err error) + func (s *S3) CanonicalURL(path string) string + func (s *S3) Exists(ctx context.Context, path string) (err error) + func (s *S3) PresignedURLForGet(ctx context.Context, path string, dur time.Duration) (url string, err error) + func (s *S3) PresignedURLForPut(ctx context.Context, path string, dur time.Duration) (url string, err error) + func (s *S3) Put(ctx context.Context, path string, r io.ReadSeeker) (err error)