Improved performance
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
package web
|
||||
|
||||
import "git.akyoto.dev/go/router"
|
||||
import (
|
||||
"bufio"
|
||||
|
||||
"git.akyoto.dev/go/router"
|
||||
)
|
||||
|
||||
// Request is an interface for HTTP requests.
|
||||
type Request interface {
|
||||
@ -14,6 +18,7 @@ type Request interface {
|
||||
|
||||
// request represents the HTTP request used in the given context.
|
||||
type request struct {
|
||||
reader *bufio.Reader
|
||||
scheme string
|
||||
host string
|
||||
method string
|
||||
|
Reference in New Issue
Block a user