gf/net/ghttp/ghttp_controller.go
2020-02-11 10:00:10 +08:00

14 lines
382 B
Go

// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved.
//
// 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.
package ghttp
// Controller is the base struct for controller.
type Controller interface {
Init(*Request)
Shut()
}