Documentation ¶
Index ¶
- type IPodService
- type PodService
- func (pod *PodService) AddPod(modPod *models.Pod) bool
- func (pod *PodService) DeletePod(id uint) bool
- func (pod *PodService) DeletePodByCol(modPod *models.Pod) bool
- func (pod *PodService) GetPod(id uint) *models.Pod
- func (pod *PodService) GetPods(page, pagesize uint, maps interface{}) interface{}
- func (pod *PodService) UpdatePod(modPod *models.Pod) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPodService ¶
type PodService ¶
type PodService struct {
Repository podRep.IPodRepository `inject:""`
}
func (*PodService) DeletePod ¶
func (pod *PodService) DeletePod(id uint) bool
func (*PodService) DeletePodByCol ¶
func (pod *PodService) DeletePodByCol(modPod *models.Pod) bool
func (*PodService) GetPods ¶
func (pod *PodService) GetPods(page, pagesize uint, maps interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.