Documentation ¶
Index ¶
- type Anonymous
- 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
- 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
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anonymous ¶
type Anonymous struct {
// contains filtered or unexported fields
}
func NewAnonymous ¶
func (*Anonymous) CanonicalURL ¶
func (*Anonymous) PresignedURLForGet ¶
func (*Anonymous) PresignedURLForPut ¶
type GS ¶
type GS struct {
// contains filtered or unexported fields
}
func (*GS) CanonicalURL ¶
func (*GS) PresignedURLForGet ¶
func (*GS) PresignedURLForPut ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) CanonicalURL ¶
func (*S3) PresignedURLForGet ¶
func (*S3) PresignedURLForPut ¶
Click to show internal directories.
Click to hide internal directories.