Documentation ¶
Index ¶
- type AdminDashboardRouter
- type AdminRouter
- type ArticleAdminRouter
- func (this *ArticleAdminRouter) Confirm()
- func (this *ArticleAdminRouter) Create()
- func (this *ArticleAdminRouter) Delete()
- func (this *ArticleAdminRouter) Edit()
- func (this *ArticleAdminRouter) List()
- func (this *ArticleAdminRouter) Object() interface{}
- func (this *ArticleAdminRouter) ObjectQs() orm.QuerySeter
- func (this *ArticleAdminRouter) Save()
- func (this *ArticleAdminRouter) Update()
- type BaseAdminRouter
- type CategoryAdminRouter
- func (this *CategoryAdminRouter) Confirm()
- func (this *CategoryAdminRouter) Create()
- func (this *CategoryAdminRouter) Delete()
- func (this *CategoryAdminRouter) Edit()
- func (this *CategoryAdminRouter) List()
- func (this *CategoryAdminRouter) Object() interface{}
- func (this *CategoryAdminRouter) ObjectQs() orm.QuerySeter
- func (this *CategoryAdminRouter) Save()
- func (this *CategoryAdminRouter) Update()
- type CommentAdminRouter
- func (this *CommentAdminRouter) Confirm()
- func (this *CommentAdminRouter) Create()
- func (this *CommentAdminRouter) Delete()
- func (this *CommentAdminRouter) Edit()
- func (this *CommentAdminRouter) List()
- func (this *CommentAdminRouter) Object() interface{}
- func (this *CommentAdminRouter) ObjectQs() orm.QuerySeter
- func (this *CommentAdminRouter) Save()
- func (this *CommentAdminRouter) Update()
- type ModelAdminRouter
- type ModelFinder
- type ModelPreparer
- type PostAdminRouter
- func (this *PostAdminRouter) Confirm()
- func (this *PostAdminRouter) Create()
- func (this *PostAdminRouter) Delete()
- func (this *PostAdminRouter) Edit()
- func (this *PostAdminRouter) GetForm(create bool) post.PostAdminForm
- func (this *PostAdminRouter) List()
- func (this *PostAdminRouter) Object() interface{}
- func (this *PostAdminRouter) ObjectQs() orm.QuerySeter
- func (this *PostAdminRouter) Save()
- func (this *PostAdminRouter) Update()
- type TopicAdminRouter
- func (this *TopicAdminRouter) Confirm()
- func (this *TopicAdminRouter) Create()
- func (this *TopicAdminRouter) Delete()
- func (this *TopicAdminRouter) Edit()
- func (this *TopicAdminRouter) List()
- func (this *TopicAdminRouter) Object() interface{}
- func (this *TopicAdminRouter) ObjectQs() orm.QuerySeter
- func (this *TopicAdminRouter) Save()
- func (this *TopicAdminRouter) Update()
- type UserAdminRouter
- func (this *UserAdminRouter) Confirm()
- func (this *UserAdminRouter) Create()
- func (this *UserAdminRouter) Delete()
- func (this *UserAdminRouter) Edit()
- func (this *UserAdminRouter) List()
- func (this *UserAdminRouter) Object() interface{}
- func (this *UserAdminRouter) ObjectQs() orm.QuerySeter
- func (this *UserAdminRouter) Save()
- func (this *UserAdminRouter) Update()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminDashboardRouter ¶
type AdminDashboardRouter struct {
BaseAdminRouter
}
func (*AdminDashboardRouter) Get ¶
func (this *AdminDashboardRouter) Get()
type AdminRouter ¶
type AdminRouter struct {
BaseAdminRouter
}
func (*AdminRouter) ModelGet ¶
func (this *AdminRouter) ModelGet()
func (*AdminRouter) ModelSelect ¶
func (this *AdminRouter) ModelSelect()
type ArticleAdminRouter ¶
type ArticleAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*ArticleAdminRouter) Confirm ¶
func (this *ArticleAdminRouter) Confirm()
view for confirm delete object
func (*ArticleAdminRouter) Object ¶
func (this *ArticleAdminRouter) Object() interface{}
func (*ArticleAdminRouter) ObjectQs ¶
func (this *ArticleAdminRouter) ObjectQs() orm.QuerySeter
type BaseAdminRouter ¶
type BaseAdminRouter struct {
base.BaseRouter
}
func (*BaseAdminRouter) NestPrepare ¶
func (this *BaseAdminRouter) NestPrepare()
type CategoryAdminRouter ¶
type CategoryAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*CategoryAdminRouter) Confirm ¶
func (this *CategoryAdminRouter) Confirm()
view for confirm delete object
func (*CategoryAdminRouter) Create ¶
func (this *CategoryAdminRouter) Create()
view for create object
func (*CategoryAdminRouter) Delete ¶
func (this *CategoryAdminRouter) Delete()
view for delete object
func (*CategoryAdminRouter) Object ¶
func (this *CategoryAdminRouter) Object() interface{}
func (*CategoryAdminRouter) ObjectQs ¶
func (this *CategoryAdminRouter) ObjectQs() orm.QuerySeter
func (*CategoryAdminRouter) Update ¶
func (this *CategoryAdminRouter) Update()
view for update object
type CommentAdminRouter ¶
type CommentAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*CommentAdminRouter) Confirm ¶
func (this *CommentAdminRouter) Confirm()
view for confirm delete object
func (*CommentAdminRouter) Object ¶
func (this *CommentAdminRouter) Object() interface{}
func (*CommentAdminRouter) ObjectQs ¶
func (this *CommentAdminRouter) ObjectQs() orm.QuerySeter
type ModelAdminRouter ¶
type ModelAdminRouter struct {
BaseAdminRouter
}
func (*ModelAdminRouter) ModelPrepare ¶
func (this *ModelAdminRouter) ModelPrepare()
func (*ModelAdminRouter) QueryObject ¶
func (this *ModelAdminRouter) QueryObject() bool
query object and set to template
func (*ModelAdminRouter) SetObjects ¶
func (this *ModelAdminRouter) SetObjects(qs orm.QuerySeter, objects interface{}) error
query objects and set to template
type ModelFinder ¶
type ModelFinder interface { Object() interface{} ObjectQs() orm.QuerySeter }
type ModelPreparer ¶
type ModelPreparer interface {
ModelPrepare()
}
type PostAdminRouter ¶
type PostAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*PostAdminRouter) Confirm ¶
func (this *PostAdminRouter) Confirm()
view for confirm delete object
func (*PostAdminRouter) GetForm ¶
func (this *PostAdminRouter) GetForm(create bool) post.PostAdminForm
func (*PostAdminRouter) Object ¶
func (this *PostAdminRouter) Object() interface{}
func (*PostAdminRouter) ObjectQs ¶
func (this *PostAdminRouter) ObjectQs() orm.QuerySeter
type TopicAdminRouter ¶
type TopicAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*TopicAdminRouter) Confirm ¶
func (this *TopicAdminRouter) Confirm()
view for confirm delete object
func (*TopicAdminRouter) Object ¶
func (this *TopicAdminRouter) Object() interface{}
func (*TopicAdminRouter) ObjectQs ¶
func (this *TopicAdminRouter) ObjectQs() orm.QuerySeter
type UserAdminRouter ¶
type UserAdminRouter struct { ModelAdminRouter // contains filtered or unexported fields }
func (*UserAdminRouter) Confirm ¶
func (this *UserAdminRouter) Confirm()
view for confirm delete object
func (*UserAdminRouter) Object ¶
func (this *UserAdminRouter) Object() interface{}
func (*UserAdminRouter) ObjectQs ¶
func (this *UserAdminRouter) ObjectQs() orm.QuerySeter
Click to show internal directories.
Click to hide internal directories.