pod

package
v0.0.0-...-89c19b0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPodService

type IPodService interface {
	GetPod(id uint) *models.Pod

	AddPod(Pod *models.Pod) bool

	UpdatePod(Pod *models.Pod) bool

	GetPods(page, pagesize uint, maps interface{}) interface{}

	DeletePod(id uint) bool

	DeletePodByCol(Pod *models.Pod) bool
}

type PodService

type PodService struct {
	Repository podRep.IPodRepository `inject:""`
}

func (*PodService) AddPod

func (pod *PodService) AddPod(modPod *models.Pod) bool

func (*PodService) DeletePod

func (pod *PodService) DeletePod(id uint) bool

func (*PodService) DeletePodByCol

func (pod *PodService) DeletePodByCol(modPod *models.Pod) bool

func (*PodService) GetPod

func (pod *PodService) GetPod(id uint) *models.Pod

func (*PodService) GetPods

func (pod *PodService) GetPods(page, pagesize uint, maps interface{}) interface{}

func (*PodService) UpdatePod

func (pod *PodService) UpdatePod(modPod *models.Pod) bool

Jump to

Keyboard shortcuts

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