Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthMiddleware ¶
func NewAuthMiddleware(clientService *service.ClientService, userService *service.UserService, permissions []string) func(handler http.Handler) http.Handler
Types ¶
type AuthMiddleware ¶
type AuthMiddleware struct {
// contains filtered or unexported fields
}
func (*AuthMiddleware) ServeHTTP ¶
func (m *AuthMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)
type LoggingMiddleware ¶
type LoggingMiddleware struct {
// contains filtered or unexported fields
}
func (*LoggingMiddleware) ServeHTTP ¶
func (lg *LoggingMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)
type SPAHandler ¶
type SPAHandler struct { StaticPath string IndexPath string ReplaceBasePath string NoCache bool // contains filtered or unexported fields }
func (*SPAHandler) ServeHTTP ¶
func (h *SPAHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.