Matching based on URL
Nv7-GitHub opened this issue · 1 comments
Nv7-GitHub commented
Is it possible to Match based on URL? Like:
cmux.MatchURL("/example")
arch-zen commented
you can do like this -> http.HandleFunc("example",func(w http.ResponseWriter, r *http.Request){//do what you want to do})