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