Documentation ¶
Index ¶
- type JobService
- func (service *JobService) Create(job models.Job) (models.Job, error)
- func (service *JobService) Delete(id string) error
- func (service *JobService) Get(id string) (models.Job, error)
- func (service *JobService) List() ([]models.Job, error)
- func (service *JobService) Update(id string, job models.Job) (models.Job, error)
- type UserService
- func (service *UserService) Create(user models.User) (models.User, error)
- func (service *UserService) Delete(id string) error
- func (service *UserService) Get(id string) (models.User, error)
- func (service *UserService) List() ([]models.User, error)
- func (service *UserService) Update(id string, user models.User) (models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JobService ¶
type JobService struct {
// contains filtered or unexported fields
}
func NewJobService ¶
func NewJobService() *JobService
func (*JobService) Delete ¶
func (service *JobService) Delete(id string) error
type UserService ¶
type UserService struct {
// contains filtered or unexported fields
}
func NewUserService ¶
func NewUserService() *UserService
func (*UserService) Delete ¶
func (service *UserService) Delete(id string) error
Click to show internal directories.
Click to hide internal directories.