summaryrefslogtreecommitdiff
path: root/types/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'types/http.go')
-rw-r--r--types/http.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/types/http.go b/types/http.go
index bc85d99..5fac0e8 100644
--- a/types/http.go
+++ b/types/http.go
@@ -11,3 +11,18 @@ const (
OPTIONS HTTPMethod = "OPTIONS"
HEAD HTTPMethod = "HEAD"
)
+
+type HTTPQueryParam struct {
+ Key string
+ Value string
+}
+
+type HTTPRequest struct {
+ Path string
+ Method string
+ Query []HTTPQueryParam
+ Params []HTTPQueryParam
+ QueryString string
+ IP string
+ URL string
+}