func (p Parameters) postHandler() http.Handler {
	postMux := http.NewServeMux()
	postMux.Handle("/user_create", http.HandlerFunc(userCreateHandler(p.UserDao, p.Logger)))
	postMux.Handle("/user_login", http.HandlerFunc(userLoginHandler(p.UserDao, p.Tokenizer, p.Logger)))
	postMux.Handle("/user_update_password", http.HandlerFunc(userUpdatePasswordHandler(p.UserDao, p.Lobby, p.Logger)))
	postMux.Handle("/user_delete", http.HandlerFunc(userDeleteHandler(p.UserDao, p.Lobby, p.Logger)))
	postMux.Handle("/ping", http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
		// NOOP
	}))
	return authHandler(postMux, p.Tokenizer, p.Logger)
}
// postHandler checks authentication and calls handlers for POST endpoints.
postHandler checks authentication and calls handlers for POST endpoints.
// postHandler checks authentication and calls handlers for POST endpoints .
func (p Parameters) postHandler() http.Handler {
	postMux := http.NewServeMux()
	postMux.Handle("/user_create", http.HandlerFunc(userCreateHandler(p.UserDao, p.Logger)))
	postMux.Handle("/user_login", http.HandlerFunc(userLoginHandler(p.UserDao, p.Tokenizer, p.Logger)))
	postMux.Handle("/user_update_password", http.HandlerFunc(userUpdatePasswordHandler(p.UserDao, p.Lobby, p.Logger)))
	postMux.Handle("/user_delete", http.HandlerFunc(userDeleteHandler(p.UserDao, p.Lobby, p.Logger)))
	postMux.Handle("/ping", http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {
	}))
	return authHandler(postMux, p.Tokenizer, p.Logger)
}
func ( p Parameters ) postHandler ( ) http . Handler { postMux := http . NewServeMux ( ) postMux . Handle ( " " , http . HandlerFunc ( userCreateHandler ( p . UserDao , p . Logger ) ) ) postMux . Handle ( " " , http . HandlerFunc ( userLoginHandler ( p . UserDao , p . Tokenizer , p . Logger ) ) ) postMux . Handle ( " " , http . HandlerFunc ( userUpdatePasswordHandler ( p . UserDao , p . Lobby , p . Logger ) ) ) postMux . Handle ( " " , http . HandlerFunc ( userDeleteHandler ( p . UserDao , p . Lobby , p . Logger ) ) ) postMux . Handle ( " " , http . HandlerFunc ( func ( rw http . ResponseWriter , r * http . Request ) { } ) ) return authHandler ( postMux , p . Tokenizer , p . Logger ) }
postHandler checks authentication and calls handlers for POST endpoints.
postHandler checks authentication and calls handlers for POST endpoints .
// NOOP