• qiuqunfeng's avatar
    Refactor API router and WAF handling to support additional parameters and... · eb384897
    qiuqunfeng authored
    Refactor API router and WAF handling to support additional parameters and improve configuration management
    
    This update modifies the SetRouters and SetWafRouter functions to accept new parameters, including a debug flag and a region URL map, enhancing the flexibility of the API routing. Additionally, a new SetApiRouters function is introduced for better organization of API routes. The configuration management has been streamlined by moving configuration imports to the internal package, ensuring a more consistent structure across the application.
    eb384897
main.go 267 Bytes