From a04faab2a7c031b95e6e7553f9921c3bada2bc08 Mon Sep 17 00:00:00 2001 From: Bobby <30593201+luciferreeves@users.noreply.github.com> Date: Tue, 20 Jan 2026 14:19:25 +0530 Subject: Implemented processors and add HTTPRequest and HTTPQueryParam types and Created utility functions for building request metadata. --- types/http.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'types') 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 +} -- cgit v1.2.3