mirror of
https://github.com/labstack/echo.git
synced 2025-01-10 00:28:23 +02:00
8ee864ae08
Signed-off-by: Vishal Rana <vr@labstack.com>
28 lines
372 B
Go
28 lines
372 B
Go
// +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
|
|
}
|