Documentation ¶
Index ¶
- func Apple(r *ghttp.Request)
- func ApplePen(r *ghttp.Request)
- func Cookie(r *ghttp.Request)
- func Form(r *ghttp.Request)
- func FormShow(r *ghttp.Request)
- func Pen(r *ghttp.Request)
- func Session(r *ghttp.Request)
- func Upload(r *ghttp.Request)
- func UploadShow(r *ghttp.Request)
- type ControllerDomain
- type ControllerExit
- type ControllerMethod
- type ControllerRest
- type ControllerRule
- type ControllerTemplate
- type ControllerUser
- type Object
- type ObjectMethod
- type ObjectRest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UploadShow ¶
Types ¶
type ControllerDomain ¶
type ControllerDomain struct{}
type ControllerExit ¶
type ControllerExit struct {
gmvc.Controller
}
func (*ControllerExit) Init ¶
func (c *ControllerExit) Init(r *ghttp.Request)
func (*ControllerExit) Show ¶
func (c *ControllerExit) Show()
type ControllerMethod ¶
type ControllerMethod struct {
gmvc.Controller
}
func (*ControllerMethod) Age ¶
func (c *ControllerMethod) Age()
func (*ControllerMethod) Info ¶
func (c *ControllerMethod) Info()
func (*ControllerMethod) Name ¶
func (c *ControllerMethod) Name()
type ControllerRule ¶
type ControllerRule struct {
gmvc.Controller
}
func (*ControllerRule) Show ¶
func (c *ControllerRule) Show()
type ControllerTemplate ¶
type ControllerTemplate struct {
gmvc.Controller
}
func (*ControllerTemplate) Info ¶
func (c *ControllerTemplate) Info()
type ControllerUser ¶
type ControllerUser struct {
gmvc.Controller
}
定义业务相关的控制器对象, 建议命名规范中控制器统一使用Controller前缀,后期代码维护时便于区分
func (*ControllerUser) TrueName ¶
func (c *ControllerUser) TrueName()
定义操作逻辑 - 展示方法名称如果带多个单词,路由控制器使用英文连接符号"-"进行拼接
type ObjectMethod ¶
type ObjectMethod struct{}
func (*ObjectMethod) Show1 ¶
func (o *ObjectMethod) Show1(r *ghttp.Request)
func (*ObjectMethod) Show2 ¶
func (o *ObjectMethod) Show2(r *ghttp.Request)
func (*ObjectMethod) Show3 ¶
func (o *ObjectMethod) Show3(r *ghttp.Request)
func (*ObjectMethod) Show4 ¶
func (o *ObjectMethod) Show4(r *ghttp.Request)
Click to show internal directories.
Click to hide internal directories.