Documentation ¶
Index ¶
- Variables
- func UserCreate(c *xin.Context)
- func UserCsvExport(c *xin.Context)
- func UserCsvImportSample(c *xin.Context)
- func UserDeleteBatch(c *xin.Context)
- func UserDeletes(c *xin.Context)
- func UserEdit(c *xin.Context)
- func UserIndex(c *xin.Context)
- func UserList(c *xin.Context)
- func UserNew(c *xin.Context)
- func UserUpdate(c *xin.Context)
- func UserUpdates(c *xin.Context)
- func UserView(c *xin.Context)
- type UserCsvImportJobController
- type UserQueryArg
- type UserUpdatesArg
Constants ¶
This section is empty.
Variables ¶
View Source
var UserCsvImportJobHandler = handlers.NewJobHandler(newUserCsvImportJobController)
Functions ¶
func UserCreate ¶
func UserCsvExport ¶
func UserCsvImportSample ¶
func UserDeleteBatch ¶
func UserDeletes ¶
func UserUpdate ¶
func UserUpdates ¶
Types ¶
type UserCsvImportJobController ¶
type UserCsvImportJobController struct {
handlers.JobController
}
func (*UserCsvImportJobController) Start ¶
func (ucijc *UserCsvImportJobController) Start(c *xin.Context)
type UserQueryArg ¶
type UserQueryArg struct { argutil.QueryArg ID int64 `json:"id" form:"id,strip"` Name string `json:"name" form:"name,strip"` Email string `json:"email" form:"email,strip"` Role []string `json:"role" form:"role,strip"` Status []string `json:"status" form:"status,strip"` CIDR string `json:"cidr" form:"cidr,strip"` }
func (*UserQueryArg) AddWhere ¶
func (uqa *UserQueryArg) AddWhere(c *xin.Context, sqb *sqlx.Builder)
func (*UserQueryArg) HasFilter ¶
func (uqa *UserQueryArg) HasFilter() bool
func (*UserQueryArg) Normalize ¶
func (uqa *UserQueryArg) Normalize(c *xin.Context)
type UserUpdatesArg ¶
type UserUpdatesArg struct { ID string `json:"id,omitempty" form:"id,strip"` Role string `json:"role,omitempty" form:"role,strip"` Status string `json:"status,omitempty" form:"status,strip"` CIDR *string `json:"cidr,omitempty" form:"cidr,strip" validate:"omitempty,cidrs"` }
func (*UserUpdatesArg) IsEmpty ¶
func (uua *UserUpdatesArg) IsEmpty() bool
Click to show internal directories.
Click to hide internal directories.