示例#1
0
文件: modules.go 项目: skammer/web
// This function will be called prior to each web request
func AuthHandler(ctx *web.Context) error {
	ctx.User = "******"
	fmt.Println(ctx.Request.Header)
	return nil
}