gf/g/net/ghttp/ghttp_controller.go

15 lines
367 B
Go

// Copyright 2017 gf Author(https://gitee.com/johng/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://gitee.com/johng/gf.
package ghttp
// 控制器接口
type Controller interface {
Init(*Request)
Shut(*Request)
}