Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoriesRepository ¶
type CategoriesService ¶
type CategoriesService interface { CategoriesRepository }
type Controller ¶
type Controller interface { Run() Stop() }
type MastersRepository ¶
type MastersService ¶
type MastersService interface { MastersRepository }
type TagsRepository ¶
type TagsService ¶
type ToysRepository ¶
type ToysService ¶
type ToysService interface { ToysRepository }
type UseCases ¶
type UseCases interface { TagsService CategoriesService GetAllMasters() ([]*entities.Master, error) GetMasterByID(id uint64) (*entities.Master, error) RegisterMaster(rawMasterData entities.RawRegisterMasterDTO) (masterID uint64, err error) AddToy(rawToyData entities.RawAddToyDTO) (toyID uint64, err error) GetAllToys() ([]*entities.Toy, error) GetToyByID(id uint64) (*entities.Toy, error) GetMasterToys(masterID uint64) ([]*entities.Toy, error) }
Click to show internal directories.
Click to hide internal directories.