3pl/model/natsio/communication_request.go

18 lines
499 B
Go
Raw Normal View History

2022-08-15 04:51:07 +00:00
package natsiomodel
// NatsRequestHTTP ...
type NatsRequestHTTP struct {
ResponseImmediately bool `json:"responseImmediately"`
AuthenticationID string `json:"authenticationId"`
Payload HTTPPayload `json:"payload"`
}
// HTTPPayload ...
type HTTPPayload 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"`
}