mirror of
https://gitee.com/johng/gf
synced 2026-06-27 17:57:21 +08:00
16 lines
665 B
Go
16 lines
665 B
Go
package ghttp
|
|
|
|
// 控制器基类
|
|
type Controller struct {
|
|
Server *Server
|
|
}
|
|
|
|
func (c *Controller) Get(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Put(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Post(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Delete(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Head(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Patch(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Connect(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Options(*ClientRequest, *ServerResponse) {}
|
|
func (c *Controller) Trace(*ClientRequest, *ServerResponse) {} |