2022-08-18 10:47:47 +00:00
|
|
|
package model
|
|
|
|
|
|
|
|
// CommunicationRequestHttp ...
|
|
|
|
type CommunicationRequestHttp struct {
|
|
|
|
ResponseImmediately bool `json:"responseImmediately"`
|
|
|
|
Authentication string `json:"authentication"`
|
|
|
|
Payload HttpRequest `json:"payload"`
|
2023-10-06 09:39:40 +00:00
|
|
|
|
|
|
|
// collection to store log data, will be prepended with log-, default it stored in logs collections
|
|
|
|
LogTarget string `json:"logTarget"`
|
2022-08-18 10:47:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// HttpRequest ...
|
|
|
|
type HttpRequest struct {
|
|
|
|
URL string `json:"url"`
|
|
|
|
Method string `json:"method"`
|
|
|
|
Data string `json:"data"`
|
|
|
|
Header map[string]string `json:"header"`
|
|
|
|
Query map[string]string `json:"query"`
|
|
|
|
}
|