func GetGameContext(c *gin.Context) *domain.ContextDefinition { gc := c.MustGet(gameContextKey) return gc.(*domain.ContextDefinition) }
func getGaeContext(c *gin.Context) appengine.Context { gc := c.MustGet(gaeCtxKey) return gc.(appengine.Context) }
func getCurrentUserFromGinContext(c *gin.Context) *domain.User { usr := c.MustGet(userKey) return usr.(*domain.User) }
func GetNamespace(c *gin.Context) string { gc := c.MustGet(namespaceKey) return gc.(string) }