refactor(api): simplify instance management endpoints

- Change delete endpoint to use request body instead of path parameter
- Modify endpoint now takes field as path parameter and instance name in body
- Update README to reflect API changes
- Remove unused description field from software info
- Fix error message in auth token lookup
This commit is contained in:
2026-02-28 11:55:52 +08:00
parent e3b3a3aa98
commit aa70e7c0f0
5 changed files with 32 additions and 14 deletions
-1
View File
@@ -26,7 +26,6 @@ func main() {
Version: "0.0.1",
Developer: "Madobi Nanami",
BuildVer: 1,
Description: "A backend application for managing local frpc instances, allowing users to easily start, stop, restart, and perform daily maintenance operations on frpc instances. It also provides automated error handling, such as automatic restart when an instance crashes.",
BuildType: "debug",
}
postLog.Info(fmt.Sprintf("%s %s (Build %d.%s) by %s", softwareInfo.Name, softwareInfo.Version, softwareInfo.BuildVer, softwareInfo.BuildType, softwareInfo.Developer))