Documentation
¶
Index ¶
- func Module() app.Module
- type Store
- func (s *Store) OnStart(context.Context) error
- func (s *Store) OnStop(context.Context) error
- func (s *Store) PreSignedDownload(ctx context.Context, uri url.URL, expires time.Duration) (*url.URL, error)
- func (s *Store) Upload(ctx context.Context, bucketName, path string, data io.Reader, objectSize int64) (*UploadedObject, error)
- type StoreConfig
- type UploadedObject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewStore ¶
func NewStore(cfg *StoreConfig) (*Store, error)
func (*Store) PreSignedDownload ¶
type StoreConfig ¶
Click to show internal directories.
Click to hide internal directories.