Documentation ¶
Index ¶
- type MongoDemoContext
- type MongoDemoController
- func (d *MongoDemoController) AddAction(context *MongoDemoContext)
- func (d *MongoDemoController) DelAction(context *MongoDemoContext)
- func (d *MongoDemoController) EditAction(context *MongoDemoContext)
- func (d *MongoDemoController) GetAction(context *MongoDemoContext)
- func (d *MongoDemoController) IndexAction(context *MongoDemoContext)
- func (d *MongoDemoController) NewActionContext(req *http.Request, respWriter http.ResponseWriter) gcontroller.ActionContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDemoContext ¶
type MongoDemoContext struct { *api.ApiContext // contains filtered or unexported fields }
func (*MongoDemoContext) BeforeAction ¶
func (d *MongoDemoContext) BeforeAction()
type MongoDemoController ¶
type MongoDemoController struct {
api.BaseController
}
func (*MongoDemoController) AddAction ¶
func (d *MongoDemoController) AddAction(context *MongoDemoContext)
func (*MongoDemoController) DelAction ¶
func (d *MongoDemoController) DelAction(context *MongoDemoContext)
func (*MongoDemoController) EditAction ¶
func (d *MongoDemoController) EditAction(context *MongoDemoContext)
func (*MongoDemoController) GetAction ¶
func (d *MongoDemoController) GetAction(context *MongoDemoContext)
func (*MongoDemoController) IndexAction ¶
func (d *MongoDemoController) IndexAction(context *MongoDemoContext)
func (*MongoDemoController) NewActionContext ¶
func (d *MongoDemoController) NewActionContext(req *http.Request, respWriter http.ResponseWriter) gcontroller.ActionContext
Click to show internal directories.
Click to hide internal directories.