soheilhy/cmux

Matching based on URL

Nv7-GitHub opened this issue · 1 comments

Is it possible to Match based on URL? Like:

cmux.MatchURL("/example")

you can do like this -> http.HandleFunc("example",func(w http.ResponseWriter, r *http.Request){//do what you want to do})