Documentation ¶
Index ¶
- type Config
- type FileInfo
- type PublicLinkResponse
- type S3
- func (s *S3) Delete(ctx context.Context, fileId string) error
- func (s *S3) Download(ctx context.Context, fileId, path string) (*os.File, error)
- func (s *S3) DownloadAsBase64(ctx context.Context, fileId string) (string, error)
- func (s *S3) FileInfo(ctx context.Context, fileId string) (FileInfo, error)
- func (s *S3) PublicLink(ctx context.Context, fileId string, publicLinkExpiration time.Duration) (PublicLinkResponse, error)
- func (s *S3) Upload(ctx context.Context, file io.ReadSeeker, name, ext string) (FileInfo, error)
- func (s *S3) UploadFromBase64(ctx context.Context, base64String, name, ext string) (FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicLinkResponse ¶
Click to show internal directories.
Click to hide internal directories.