Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct { Subscribe *Operation `json:"subscribe"` Publish *Operation `json:"publish"` // Non AsyncAPI fields Name string `json:"-"` }
func (Channel) CorrelationIdLocation ¶
func (c Channel) CorrelationIdLocation(spec Specification) string
func (Channel) GetMessageWithoutReferenceRedirect ¶
type Components ¶
type CorrelationId ¶
type Specification ¶
type Specification struct { Version string `json:"asyncapi"` Info Info `json:"info"` Channels map[string]Channel `json:"channels"` Components Components `json:"components"` }
func (*Specification) Process ¶
func (s *Specification) Process()
func (Specification) ReferenceMessage ¶
func (s Specification) ReferenceMessage(ref string) Message
Click to show internal directories.
Click to hide internal directories.