Versions in this module Expand all Collapse all v1 v1.1.1 Oct 30, 2021 v1.1.0 Oct 25, 2021 v1.0.0 Apr 20, 2021 Changes in this version + type Router struct + func New(cfg *config.Server, h web.Handler, mw web.Middleware) *Router + func (r *Router) RegisterAPI(prefix string, mux *mux.Router, gates ...web.Gate) + func (r *Router) RegisterUI(mux *mux.Router, csrf func(http.Handler) http.Handler, _ ...web.Gate)