Documentation ¶
Index ¶
- type FileService
- func (s *FileService) DeleteIndexFileMeta(ctx context.Context, fileId []byte, entityId string, entityType string) error
- func (s *FileService) IndexFileMeta(ctx context.Context, fileId []byte, entityId string, entityType string) error
- func (s *FileService) Upload(ctx context.Context, fileDTO dto.FileDTO) (*domain.File, error)
- type IFileService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileService ¶
type FileService struct {
// contains filtered or unexported fields
}
func NewFileService ¶
func NewFileService(repo repository.IFileRepository) *FileService
func (*FileService) DeleteIndexFileMeta ¶
func (*FileService) IndexFileMeta ¶
type IFileService ¶
Click to show internal directories.
Click to hide internal directories.