Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2022 Changes in this version + type RouterWrapper interface + Add func(child RouterWrapper) error + Children func() []RouterWrapper + FullPath func() string + Handler func() http.HandlerFunc + Methods func() []string + Parent func() RouterWrapper + Router func() *mux.Router + SetParent func(RouterWrapper) + SetRouter func(*mux.Router) + SubPath func() string + type Wrapper struct + func New(path string, methods []string, handler http.HandlerFunc) *Wrapper + func (w *Wrapper) Add(child RouterWrapper) error + func (w *Wrapper) Children() []RouterWrapper + func (w *Wrapper) FullPath() string + func (w *Wrapper) Handler() http.HandlerFunc + func (w *Wrapper) Methods() []string + func (w *Wrapper) Parent() RouterWrapper + func (w *Wrapper) Router() *mux.Router + func (w *Wrapper) SetParent(parent RouterWrapper) + func (w *Wrapper) SetRouter(r *mux.Router) + func (w *Wrapper) SubPath() string