lerenn / asyncapi-codegen

An AsyncAPI Golang Code generator that generates all Go code from the broker to the application/user. Just plug your application to your favorite message broker!
Apache License 2.0
91 stars 23 forks source link

Add overwritable function name based on side #162

Open lerenn opened 6 months ago

lerenn commented 6 months ago

Example:

operations:
    receiveHello:
       action: receive
       x-go-send-func: SendHello
       x-go-subscribe-func: SubscribeToHello
       x-go-received-func: HelloReceived
operations:
    pingRequest:
       action: receive
       x-go-send-func: AsyncPing
       x-go-subscribe-func: SubscribeToPing
       x-go-received-func: PingReceived
       x-go-request-func: Ping
       x-go-reply-func: Pong