16 lines
425 B
Python
16 lines
425 B
Python
from fastapi import FastAPI
|
|
import routers.op25_controller as op25_controller
|
|
import routers.pulse as pulse
|
|
import routers.bot as bot
|
|
from internal.logger import create_logger
|
|
|
|
# Initialize logging
|
|
LOGGER = create_logger(__name__)
|
|
|
|
# Define FastAPI app
|
|
app = FastAPI()
|
|
|
|
app.include_router(op25_controller.router, prefix="/op25")
|
|
app.include_router(pulse.router, prefix="/pulse")
|
|
app.include_router(bot.router, prefix="/bot")
|