Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandService ¶
type CommandService interface {
GetAll(query string, page int, pageSize int) ([]types.Command, error)
GetByID(id int64) (*types.Command, bool)
DeleteByID(id int64) error
Create(cmd *types.Command) (int64, error)
Update(cmd *types.Command) error
}
func NewCommandService ¶
func NewCommandService(orm *xorm.Engine) CommandService
Click to show internal directories.
Click to hide internal directories.