Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppControllerGenerator ¶
type AppControllerGenerator struct { Specification asyncapi.Specification // CorrelationIdLocation will indicate where the correlation id is // According to this: https://www.asyncapi.com/docs/reference/specification/v2.5.0#correlationIdObject CorrelationIdLocation map[string]string }
func NewAppControllerGenerator ¶
func NewAppControllerGenerator(spec asyncapi.Specification) AppControllerGenerator
func (AppControllerGenerator) Generate ¶
func (acg AppControllerGenerator) Generate() (string, error)
type AppSubscriberGenerator ¶
type AppSubscriberGenerator struct { Specification asyncapi.Specification // CorrelationIdLocation will indicate where the correlation id is // According to this: https://www.asyncapi.com/docs/reference/specification/v2.5.0#correlationIdObject CorrelationIdLocation map[string]string }
func NewAppSubscriberGenerator ¶
func NewAppSubscriberGenerator(spec asyncapi.Specification) AppSubscriberGenerator
func (AppSubscriberGenerator) Generate ¶
func (asg AppSubscriberGenerator) Generate() (string, error)
type BrokerControllerGenerator ¶
type BrokerControllerGenerator struct { }
func (BrokerControllerGenerator) Generate ¶
func (bcg BrokerControllerGenerator) Generate() (string, error)
type BrokerNATSGenerator ¶
type BrokerNATSGenerator struct { }
func (BrokerNATSGenerator) Generate ¶
func (bng BrokerNATSGenerator) Generate() (string, error)
type ClientControllerGenerator ¶
type ClientControllerGenerator struct { Specification asyncapi.Specification // CorrelationIdLocation will indicate where the correlation id is // According to this: https://www.asyncapi.com/docs/reference/specification/v2.5.0#correlationIdObject CorrelationIdLocation map[string]string }
func NewClientControllerGenerator ¶
func NewClientControllerGenerator(spec asyncapi.Specification) ClientControllerGenerator
func (ClientControllerGenerator) Generate ¶
func (ccg ClientControllerGenerator) Generate() (string, error)
type ClientSubscriberGenerator ¶
type ClientSubscriberGenerator struct { Specification asyncapi.Specification // CorrelationIdLocation will indicate where the correlation id is // According to this: https://www.asyncapi.com/docs/reference/specification/v2.5.0#correlationIdObject CorrelationIdLocation map[string]string }
func NewClientSubscriberGenerator ¶
func NewClientSubscriberGenerator(spec asyncapi.Specification) ClientSubscriberGenerator
func (ClientSubscriberGenerator) Generate ¶
func (asg ClientSubscriberGenerator) Generate() (string, error)
type ImportsGenerator ¶
type ImportsGenerator struct { Options Options PackageName string ModuleVersion string ModuleName string }
func (ImportsGenerator) Generate ¶
func (ig ImportsGenerator) Generate() (string, error)
type TypesGenerator ¶
type TypesGenerator struct {
asyncapi.Specification
}
func (TypesGenerator) Generate ¶
func (tg TypesGenerator) Generate() (string, error)
Click to show internal directories.
Click to hide internal directories.