Mooncore.Application
(mooncore v0.2.4)
Copy Markdown
OTP Application for Mooncore.
Starts the Bandit HTTP server and WebSocket client pools based on configuration.
Configuration
config :mooncore,
port: 4000, # HTTP port (default: 4000)
router: MyApp.Router, # Your Plug.Router module
pools: [:default, :myapp], # WebSocket client pool names
mooncore_dev_tools: true, # Enable dev dashboard & MCP
mcp_port: 4040 # Dev/MCP port (default: 4040)