Commit graph

1 commit

Author SHA1 Message Date
wjqserver
8af0971f9e refactor(api): use predefined structs for fixed API responses
- Add api/types.go with predefined response struct types

- Replace map[string]any with typed structs for all fixed-content API endpoints

- Use predefined instances for Healthcheck and Version handlers to reduce allocations

- Improve performance by avoiding per-request map allocations
2026-04-11 22:39:40 +08:00