mirror of
https://github.com/1f349/violet.git
synced 2024-11-12 22:41:39 +00:00
18 lines
202 B
Go
18 lines
202 B
Go
package target
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type Route struct {
|
|
Pre bool
|
|
Host string
|
|
Port int
|
|
Path string
|
|
Abs bool
|
|
}
|
|
|
|
func (r Route) ServeHTTP(rw http.ResponseWriter, req *http.Request) {
|
|
// pass
|
|
}
|