add Cookie struct
This commit is contained in:
parent
662e1dc6e5
commit
f6469471bb
@ -16,8 +16,7 @@ type Request struct {
|
||||
SiteKey string `json:"siteKey"`
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
Cookies []struct {
|
||||
type Cookie struct {
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Domain string `json:"domain"`
|
||||
@ -32,7 +31,10 @@ type Session struct {
|
||||
SameParty bool `json:"sameParty"`
|
||||
SourceScheme string `json:"sourceScheme"`
|
||||
PartitionKey string `json:"partitionKey"`
|
||||
} `json:"cookies"`
|
||||
}
|
||||
|
||||
type Session struct {
|
||||
Cookies []Cookie `json:"cookies"`
|
||||
Headers map[string]string `json:"headers"`
|
||||
Code int `json:"code"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user