Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ControllerGenerator ¶
type ControllerGenerator struct { MethodCount uint SubscribeChannels map[string]*asyncapi.Channel PublishChannels map[string]*asyncapi.Channel Prefix string }
func NewControllerGenerator ¶
func NewControllerGenerator(side Side, spec asyncapi.Specification) ControllerGenerator
func (ControllerGenerator) Generate ¶
func (asg ControllerGenerator) Generate() (string, error)
type ImportsGenerator ¶
func (ImportsGenerator) Generate ¶
func (ig ImportsGenerator) Generate() (string, error)
type SubscriberGenerator ¶
type SubscriberGenerator struct { MethodCount uint Channels map[string]*asyncapi.Channel Prefix string }
func NewSubscriberGenerator ¶
func NewSubscriberGenerator(side Side, spec asyncapi.Specification) SubscriberGenerator
func (SubscriberGenerator) Generate ¶
func (asg SubscriberGenerator) Generate() (string, error)
type TypesGenerator ¶
type TypesGenerator struct {
asyncapi.Specification
}
func (TypesGenerator) Generate ¶
func (tg TypesGenerator) Generate() (string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.