Forge.GenChannel
Forge.GenChannel — forge bastion.gen.channel <Name>
Generates a WebSocket channel handler stub.
Usage: forge bastion.gen.channel Room forge bastion.gen.channel Chat
The generated module implements the Bastion.Channel behaviour: fn join/3 — authorise and set up the socket connection fn handle_in/3 — handle incoming messages from the client fn handle_out/3 — intercept outgoing broadcasts (optional)