Architecture¶
The technical architecture and design decisions of OpsMini.
-
Single-machine panel, monolithic single binary, separated frontend/backend + embedded packaging.
-
Rationale for Go · Gin · GORM · SQLite (pure Go) · Vue 3 · ECharts.
-
Layered architecture (Controller → Service → Repository) and directory organization.
Core Architecture Decisions¶
- Single-machine monolith: no microservices, delivered as a single process and single binary
- SQLite: embedded and zero-ops, fully sufficient for the small volume of business data
- Dual API:
/api/v1for the UI,/agent/v1for integrations, with isolated authentication and permissions - Pure Go without CGO: one-click cross-compilation to a statically linked binary on any platform