aboutsummaryrefslogtreecommitdiff
path: root/types/http.go
blob: 1dd877d645d30c6f8cd99f758779e68249c816d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package types

type HTTPParam struct {
	Key   string
	Value string
}

type Request struct {
	Path        string
	Method      string
	Query       []HTTPParam
	Params      []HTTPParam
	Headers     []HTTPParam
	QueryString string
	IP          string
	URL         string
}