route.go
func (a RouteList) Lookup(name string) (*RouteInfo, error) {
	for _, ri := range a {
		if ri.PathName == name {
			return ri, nil
		}
	}
	return nil, errors.New("path name not found")
}
func (a RouteList) Lookup(name string) (*RouteInfo, error) {
	for _, ri := range a {
		if ri.PathName == name {
			return ri, nil
		}
	}
	return nil, errors.New("path name not found")
}
// Lookup search a specific PathName in the RouteList and return the *RouteInfo