Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldSpec ¶
type FieldSpec struct { Name string `json:"name"` Type string `json:"type"` Format string `json:"format"` Fields []*FieldSpec `json:"fields"` Item *FieldSpec `json:"Item"` Optional bool `json:"optional"` }
FieldSpec represents a field of a payload in the asyncapi spec
type MessageSpec ¶
type MessageSpec struct { Topic string Exchange string Payload PayloadSpec Delivery amqp.Delivery }
MessageSpec represents a message in the asyncapi spec
type PayloadSpec ¶
PayloadSpec represents a payload (message body) in the asyncapi spec
type ServerSpec ¶
ServerSpec represents a server in the asyncapi spec
Click to show internal directories.
Click to hide internal directories.