Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentPath ¶
type ContentPath string
type ContentPathBuilder ¶
type ContentPathBuilder interface {
Build(ctx context.Context, filename Filename) (ContentPath, error)
}
type ContentWriter ¶
type ErrIllegalFilename ¶
type ErrIllegalFilename string
func (ErrIllegalFilename) Error ¶
func (e ErrIllegalFilename) Error() string
type Filename ¶
func NewFilename ¶
type GCPContentRepository ¶
type UploadInput ¶
type UploadOutput ¶
type UploadResultPresenter ¶
type UploadResultPresenter interface {
Complete(ctx context.Context, data UploadOutput) error
}
type UploadUsecase ¶
type UploadUsecase struct { PathBuilder ContentPathBuilder Writer ContentWriter Presenter UploadResultPresenter }
func (UploadUsecase) Handle ¶
func (u UploadUsecase) Handle(ctx context.Context, input UploadInput) error
Click to show internal directories.
Click to hide internal directories.