usecases

package
v0.0.0-...-66f1e8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAttachmentService

func NewAttachmentService(attachmentRepository domain.IAttachmentRepository, fileRepository domain.IFileRepository) iservices.IAttachmentService

Types

type AttachmentServiceImpl

type AttachmentServiceImpl struct {
	// contains filtered or unexported fields
}

func (*AttachmentServiceImpl) CreateAttachment

func (impl *AttachmentServiceImpl) CreateAttachment(attachment domain.Attachment, files []*multipart.FileHeader) error

func (*AttachmentServiceImpl) DeleteAttachment

func (impl *AttachmentServiceImpl) DeleteAttachment(systemId, templateId, ref string) error

func (*AttachmentServiceImpl) FindAttachment

func (impl *AttachmentServiceImpl) FindAttachment(systemId, templateId, ref string) ([]domain.File, error)

func (*AttachmentServiceImpl) UpdateAttachment

func (impl *AttachmentServiceImpl) UpdateAttachment(systemId, templateId, ref string, files []*multipart.FileHeader) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL