mirror of
https://github.com/edoardottt/cariddi.git
synced 2026-09-12 20:57:47 +02:00
update
This commit is contained in:
+2
-2
@@ -36,7 +36,7 @@ import (
|
||||
"github.com/gocolly/colly"
|
||||
)
|
||||
|
||||
type jsonData struct {
|
||||
type JsonData struct {
|
||||
URL string `json:"url"`
|
||||
Method string `json:"method"`
|
||||
StatusCode int `json:"status_code"`
|
||||
@@ -120,7 +120,7 @@ func GetJsonString(
|
||||
Infos: infoList,
|
||||
Secrets: secretList,
|
||||
}
|
||||
resp := &jsonData{
|
||||
resp := &JsonData{
|
||||
URL: r.Request.URL.String(),
|
||||
Method: r.Request.Method,
|
||||
StatusCode: r.StatusCode,
|
||||
|
||||
Reference in New Issue
Block a user