code: func NewHandler(n *centrifuge.Node, c Config) *Handler {
  	h := &Handler{
  		node:   n,
  		config: c,
  	}
  	mux := http.NewServeMux()
  	mux.Handle("/admin/auth", http.HandlerFunc(h.authHandler))
  	mux.Handle("/admin/api", h.adminSecureTokenAuth(api.NewHandler(n, api.Config{})))
  	webPrefix := "/"
  	if c.WebPath != "" {
  		mux.Handle(webPrefix, http.StripPrefix(webPrefix, http.FileServer(http.Dir(c.WebPath))))
  	} else if c.WebFS != nil {
  		mux.Handle(webPrefix, http.StripPrefix(webPrefix, http.FileServer(c.WebFS)))
  	}
  	h.mux = mux
  	return h
  }
docs: // NewHandler creates new Handler.