# Functions

NewRestApiServer instantiate a new RestApiServer router *mux.Router, basePath string, jwtHandler func(next http.Handler) http.Handler, authHandler func(next http.Handler, authorizations []string) http.Handler, authUserContextKey interface{}, errorTranslator func(string) string: funzione per tradurre errori per il client.

# Structs

RestApiServer represent a server and provid usefull functions to configure it.