natsio/model/communication_request.go

18 lines
509 B
Go
Raw Permalink Normal View History

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"`
}
// 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"`
}