Files
gf/net/ghttp/ghttp_controller.go

14 lines
375 B
Go
Raw Normal View History

2021-01-17 21:46:25 +08:00
// Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
2017-12-29 16:03:30 +08:00
//
// This Source Code Form is subject to the terms of the MIT License.
// If a copy of the MIT was not distributed with this file,
// You can obtain one at https://github.com/gogf/gf.
2017-12-29 16:03:30 +08:00
2017-11-23 10:21:28 +08:00
package ghttp
2020-02-11 10:00:10 +08:00
// Controller is the base struct for controller.
type Controller interface {
2019-06-19 09:06:52 +08:00
Init(*Request)
Shut()
2017-12-11 18:21:30 +08:00
}