Files
apinto/router-k/tree.go
黄孟柱 a10d4b53a0 init
2021-07-20 11:11:39 +08:00

16 lines
243 B
Go

package router
import "net/http"
type Tree struct {
}
func (t *Tree) Match(req *http.Request) (http.Handler, bool) {
panic("implement me")
}
func parse(cs []*Config) (IMatcher, error) {
//todo parse config to tree
return &Tree{}, nil
}