Versions in this module Expand all Collapse all v0 v0.0.5 Dec 23, 2023 v0.0.2 Dec 23, 2023 Changes in this version + type ControllerGenerator struct + MethodCount uint + Prefix string + PublishChannels map[string]*asyncapi.Channel + SubscribeChannels map[string]*asyncapi.Channel + Version string + func NewControllerGenerator(side Side, spec asyncapi.Specification) ControllerGenerator + func (asg ControllerGenerator) Generate() (string, error) + type ImportsGenerator struct + CustomImports []string + ModuleName string + ModuleVersion string + PackageName string + func (ig ImportsGenerator) Generate() (string, error) + type Options struct + Application bool + Types bool + User bool + type Side string + const SideIsApplication + const SideIsUser + type SubscriberGenerator struct + Channels map[string]*asyncapi.Channel + MethodCount uint + Prefix string + func NewSubscriberGenerator(side Side, spec asyncapi.Specification) SubscriberGenerator + func (asg SubscriberGenerator) Generate() (string, error) + type TypesGenerator struct + func (tg TypesGenerator) Generate() (string, error)