1
0
mirror of https://github.com/labstack/echo.git synced 2025-04-13 11:50:33 +02:00

28 lines
372 B
Go
Raw Normal View History

// +build !appengine
package fasthttp
import "github.com/valyala/fasthttp"
type (
URL struct {
*fasthttp.URI
}
)
func (u *URL) SetPath(path string) {
// return string(u.URI.Path())
}
func (u *URL) Path() string {
return string(u.URI.Path())
}
func (u *URL) QueryValue(name string) string {
return ""
}
func (u *URL) reset(uri *fasthttp.URI) {
u.URI = uri
}