Documentation ¶
Index ¶
- Variables
- func PetCreate(c *xin.Context)
- func PetCsvExport(c *xin.Context)
- func PetDeleteBatch(c *xin.Context)
- func PetDeletes(c *xin.Context)
- func PetEdit(c *xin.Context)
- func PetIndex(c *xin.Context)
- func PetList(c *xin.Context)
- func PetNew(c *xin.Context)
- func PetUpdate(c *xin.Context)
- func PetUpdates(c *xin.Context)
- func PetView(c *xin.Context)
- type PetClearJobController
- type PetCreateJobController
- type PetQueryArg
- type PetResetJobChainController
- type PetUpdatesArg
- type PetWithFile
Constants ¶
This section is empty.
Variables ¶
View Source
var PetCatCreateJobHandler = handlers.NewJobHandler(newPetCatCreateJobController)
View Source
var PetClearJobHandler = handlers.NewJobHandler(newPetClearJobController)
View Source
var PetDogCreateJobHandler = handlers.NewJobHandler(newPetDogCreateJobController)
View Source
var PetResetJobChainHandler = handlers.NewJobChainHandler(newPetResetJobChainController)
Functions ¶
func PetCsvExport ¶
func PetDeleteBatch ¶
func PetDeletes ¶
func PetUpdates ¶
Types ¶
type PetClearJobController ¶
type PetClearJobController struct {
handlers.JobController
}
func (*PetClearJobController) Index ¶
func (pcjc *PetClearJobController) Index(c *xin.Context)
func (*PetClearJobController) Start ¶
func (pcjc *PetClearJobController) Start(c *xin.Context)
type PetCreateJobController ¶
type PetCreateJobController struct { handlers.JobController // contains filtered or unexported fields }
func (*PetCreateJobController) Index ¶
func (pdjc *PetCreateJobController) Index(c *xin.Context)
func (*PetCreateJobController) Start ¶
func (pdjc *PetCreateJobController) Start(c *xin.Context)
type PetQueryArg ¶
type PetQueryArg struct { argutil.QueryArg ID int64 `form:"id,strip" json:"id"` Name string `form:"name,strip" json:"name"` BornFrom time.Time `form:"born_from,strip" json:"born_from"` BornTo time.Time `form:"born_to,strip" json:"born_to"` Gender []string `form:"gender,strip" json:"gender"` Origin []string `form:"origin,strip" json:"origin"` Habits []string `form:"habits,strip" json:"habits"` Temper []string `form:"temper,strip" json:"temper"` AmountMin string `form:"amount_min" json:"amount_min"` AmountMax string `form:"amount_max" json:"amount_max"` PriceMin string `form:"price_min" json:"price_min"` PriceMax string `form:"price_max" json:"price_max"` ShopName string `form:"shop_name,strip" json:"shop_name"` }
func (*PetQueryArg) AddWhere ¶
func (pqa *PetQueryArg) AddWhere(sqb *sqlx.Builder)
func (*PetQueryArg) HasFilter ¶
func (pqa *PetQueryArg) HasFilter() bool
func (*PetQueryArg) Normalize ¶
func (pqa *PetQueryArg) Normalize(c *xin.Context)
type PetResetJobChainController ¶
type PetResetJobChainController struct {
handlers.JobChainController
}
func (*PetResetJobChainController) Index ¶
func (prjcc *PetResetJobChainController) Index(c *xin.Context)
type PetUpdatesArg ¶
type PetUpdatesArg struct { ID string `json:"id,omitempty" form:"id,strip"` Gender string `json:"gender,omitempty" form:"gender,strip"` BornAt *time.Time `json:"born_at,omitempty" form:"born_at"` Origin string `json:"origin,omitempty" form:"origin,strip"` Temper string `json:"temper,omitempty" form:"temper,strip"` Habits *[]string `json:"habits,omitempty" form:"habits,strip"` }
func (*PetUpdatesArg) IsEmpty ¶
func (pua *PetUpdatesArg) IsEmpty() bool
type PetWithFile ¶
Click to show internal directories.
Click to hide internal directories.