Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceUpload ¶
type ServiceUpload interface {
UploadMedia(ctx context.Context, name string, file io.Reader, contentType string) (*dto.Media, error)
}
ServiceUpload holds the upload service methods
type ServiceUploadImpl ¶
ServiceUploadImpl represents upload service implementations
func NewServiceUpload ¶
func NewServiceUpload(ctx context.Context) *ServiceUploadImpl
NewServiceUpload returns new instance of upload service
Click to show internal directories.
Click to hide internal directories.