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 ¶ added in v0.1.1
func (c Channel) CorrelationIDLocation(spec Specification) string
func (Channel) GetMessageWithoutReferenceRedirect ¶
type Components ¶
type CorrelationID ¶ added in v0.1.1
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.