Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for authReq (0.09 sec)

  1. internal/grid/manager.go

    // AddToMux will add the grid manager to the given mux.
    func (m *Manager) AddToMux(router *mux.Router, authReq func(r *http.Request) error) {
    	router.Handle(m.routePath, m.Handler(authReq))
    }
    
    // Handler returns a handler that can be used to serve grid requests.
    // This should be connected on RoutePath to the main server.
    func (m *Manager) Handler(authReq func(r *http.Request) error) http.HandlerFunc {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top