Beispiel #1
0
// 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
}