Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRUD ¶
type CRUD interface { Upload(reqDTO dto.UploadResourceRequest) (*agg.Resource, error) Delete(reqDTO dto.DeleteResourceRequest) (err error) }
type CRUDService ¶
type CRUDService struct {
// contains filtered or unexported fields
}
func NewResourceService ¶
func (*CRUDService) Delete ¶
func (s *CRUDService) Delete(reqDTO dto.DeleteResourceRequest) (err error)
func (*CRUDService) Upload ¶
func (s *CRUDService) Upload(reqDTO dto.UploadResourceRequest) (resource *agg.Resource, err error)
Click to show internal directories.
Click to hide internal directories.