package
0.45.0
Repository: https://github.com/lerenn/asyncapi-codegen.git
Documentation: pkg.go.dev

# Functions

NewAppController links the App to the broker.
No description provided by the author
WithErrorHandler attaches a errorhandler to handle errors from subscriber functions.
WithLogger attaches a logger to the controller.
WithMiddlewares attaches middlewares that will be executed when sending or receiving messages.

# Constants

AsyncAPIVersion is the version of the used AsyncAPI document.
HelloChannelPath is the constant representing the 'HelloChannel' channel path.

# Variables

ChannelsPaths is an array of all channels paths.

# Structs

AppController is the structure that provides sending capabilities to the developer and and connect the broker with the App.
No description provided by the author
SayHelloMessageFromHelloChannel is the message expected for 'SayHelloMessageFromHelloChannel' channel.

# Interfaces

AppSubscriber contains all handlers that are listening messages for App.
No description provided by the author

# Type aliases

ControllerOption is the type of the options that can be passed when creating a new Controller.