Added a new field to HTTPCaller to store results for each call

This commit is contained in:
pb 2025-03-12 09:45:17 +01:00
parent 92965c6af2
commit 659b494ee4

View File

@ -51,6 +51,7 @@ var HTTPCallerInstance = &HTTPCaller{} // Singleton instance of the HTTPCaller
type HTTPCaller struct {
URLS map[DataType]map[METHOD]string // Map of the different methods and their urls
Disabled bool // Disabled flag
Results map[DataType]map[METHOD]map[string]interface{} // Used to store information regarding the last execution of a given method on a given data type
}
// NewHTTPCaller creates a new instance of the HTTP Caller