Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { Create(ctx context.Context, user, size int, name, path, contentType string, file io.Reader, overwrite bool) (*entity.File, error) Get(ctx context.Context, id string) (*entity.File, error) GetByUser(ctx context.Context, user int, prefix string) ([]*entity.File, error) Delete(ctx context.Context, key string) error Move(ctx context.Context, user int, id, newPath string, overwrite bool) (*entity.File, error) }
func NewS3Service ¶
Click to show internal directories.
Click to hide internal directories.