Configuration File

    Reference Beego configuration

    • appname: The name of App
    • httpport: Set the port the app listens on.By default this is 8080
    • copyrequestbody: Toggle copying of raw request body in context.By default this is false except for GET, HEAD or file uploading.
    • autorender: Enable auto render. By default this is True. This value should be set to false for API applications, as there is no need to render templates
    • EnableDocs: Enable Docs. By default this is False
    • sessionon: Enable session. By default this is False
    • DBTns: the Tns of database,for example: tcp(127.0.0.1:3306)
    • DBName: the name of database
    • DBUser: the username of database
    • DBLoc: the location,for example:Asia%2FShanghai
    • SmsUrl: The endpoint of sms
    • LanxinUrl: The endpoint of LANXIN
    • CallUrl: The endpoint of CALL
    • DutyGroupUrl: The interface of duty group from which we can get the user list of this duty group
    • BrokenUrl: The interface of getting the list of fault machines
    • WebUrl: The domain name of Web-UI,for example: ““