Versions in this module Expand all Collapse all v0 v0.1.1 Mar 23, 2023 v0.1.0 Sep 9, 2022 Changes in this version + func IsValid(expr string) bool + type Mux struct + func NewMux() *Mux + func (m *Mux) AddAlias(match, replace string) + func (m *Mux) GetNotFound() http.Handler + func (m *Mux) Handle(expr string, handler http.Handler) error + func (m *Mux) HandleFunc(expr string, handler func(http.ResponseWriter, *http.Request)) error + func (m *Mux) InitHandlers(handlers map[string]interface{}) error + func (m *Mux) IsValid(expr string) bool + func (m *Mux) Remove(expr string) error + func (m *Mux) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (m *Mux) SetNotFound(n http.Handler) error + type Router interface + AddRoute func(string, interface{}) error + GetRoute func(string) interface{} + InitRoutes func(map[string]interface{}) error + RemoveRoute func(string) error + Route func(*http.Request) (interface{}, error) + UpsertRoute func(string, interface{}) error + func New() Router