Documentation ¶
Index ¶
- type BaseSvc
- type CountrySvc
- func (s *CountrySvc) Add(req *appDTO.AddCountryReqDTO, i identity.Identity) (*appDTO.AddCountryResDTO, error)
- func (s *CountrySvc) Delete(req *appDTO.DeleteCountryReqDTO, i identity.Identity) (*appDTO.DeleteCountryResDTO, error)
- func (s *CountrySvc) GetDetail(req *appDTO.GetCountryReqDTO, i identity.Identity) (*appDTO.GetCountryResDTO, error)
- func (s *CountrySvc) ListAll(i identity.Identity) (*appDTO.ListCountryResDTO, error)
- func (s *CountrySvc) RefreshIndexer(req *appDTO.RefreshCountryIndexerReqDTO, i identity.Identity) (*appDTO.RefreshCountryIndexerResDTO, error)
- func (s *CountrySvc) SearchIndexer(req *appDTO.SearchCountryIndexerReqDTO, i identity.Identity) (*appDTO.SearchCountryIndexerResDTO, error)
- func (s *CountrySvc) Update(req *appDTO.UpdateCountryReqDTO, i identity.Identity) (*appDTO.UpdateCountryResDTO, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseSvc ¶
type BaseSvc struct {
// contains filtered or unexported fields
}
BaseSvc represent BaseSvc
type CountrySvc ¶
type CountrySvc struct { BaseSvc // contains filtered or unexported fields }
CountrySvc represent CountrySvc
func NewCountrySvc ¶
func NewCountrySvc(h *handler.Handler) (*CountrySvc, error)
NewCountrySvc new CountrySvc
func (*CountrySvc) Add ¶
func (s *CountrySvc) Add(req *appDTO.AddCountryReqDTO, i identity.Identity) (*appDTO.AddCountryResDTO, error)
Add add Country
func (*CountrySvc) Delete ¶
func (s *CountrySvc) Delete(req *appDTO.DeleteCountryReqDTO, i identity.Identity) (*appDTO.DeleteCountryResDTO, error)
Delete delete Country
func (*CountrySvc) GetDetail ¶
func (s *CountrySvc) GetDetail(req *appDTO.GetCountryReqDTO, i identity.Identity) (*appDTO.GetCountryResDTO, error)
GetDetail get Detail Country
func (*CountrySvc) ListAll ¶
func (s *CountrySvc) ListAll(i identity.Identity) (*appDTO.ListCountryResDTO, error)
ListAll list All Country
func (*CountrySvc) RefreshIndexer ¶ added in v0.2.2
func (s *CountrySvc) RefreshIndexer(req *appDTO.RefreshCountryIndexerReqDTO, i identity.Identity) (*appDTO.RefreshCountryIndexerResDTO, error)
RefreshIndexer refresh Indexer
func (*CountrySvc) SearchIndexer ¶ added in v0.2.2
func (s *CountrySvc) SearchIndexer(req *appDTO.SearchCountryIndexerReqDTO, i identity.Identity) (*appDTO.SearchCountryIndexerResDTO, error)
SearchIndexer search indexer
func (*CountrySvc) Update ¶
func (s *CountrySvc) Update(req *appDTO.UpdateCountryReqDTO, i identity.Identity) (*appDTO.UpdateCountryResDTO, error)
Update update Country
Click to show internal directories.
Click to hide internal directories.