Documentation ¶ Index ¶ Constants func DeleteConfig(c echo.Context) error func GetConfig(c echo.Context) error func GetConfigStatus(c echo.Context) error func GetConfigToml(c echo.Context) error func SaveConfigHandler(c echo.Context) error func UpdateConfig(c echo.Context) error Constants ¶ View Source const ( HomeDirectory = "HomeDirectory" WorkingDirectory = "WorkingDirectory" ProgramDirectory = "ProgramDirectory" ) Variables ¶ This section is empty. Functions ¶ func DeleteConfig ¶ func DeleteConfig(c echo.Context) error DeleteConfig 删除配置文件 func GetConfig ¶ func GetConfig(c echo.Context) error GetConfig 获取json格式的当前配置,不做修改 func GetConfigStatus ¶ func GetConfigStatus(c echo.Context) error GetConfigStatus 获取json格式的当前配置 func GetConfigToml ¶ func GetConfigToml(c echo.Context) error GetConfigToml 下载服务器配置(toml),修改关键值后上传 func SaveConfigHandler ¶ func SaveConfigHandler(c echo.Context) error SaveConfigHandler 保存服务器配置到文件 func UpdateConfig ¶ func UpdateConfig(c echo.Context) error UpdateConfig 修改服务器配置(post json) Types ¶ This section is empty. Source Files ¶ View all Source files delete_config.goget_config.goget_config_status.gosave_config.goupdate_config.go Click to show internal directories. Click to hide internal directories.