mirror of
https://github.com/astaxie/beego.git
synced 2025-07-13 16:21:03 +00:00
fix #751
add config ListenTCP4 when user want to listen on the TCP4, because now almost use the ipv4. but default lister on the ipv6
This commit is contained in:
@ -14,6 +14,11 @@
|
||||
|
||||
package beego
|
||||
|
||||
import "github.com/astaxie/beego/context"
|
||||
|
||||
// FilterFunc defines filter function type.
|
||||
type FilterFunc func(*context.Context)
|
||||
|
||||
// FilterRouter defines filter operation before controller handler execution.
|
||||
// it can match patterned url and do filter function when action arrives.
|
||||
type FilterRouter struct {
|
||||
|
Reference in New Issue
Block a user