Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(protected *gin.RouterGroup, deps *ServerDependencies)
Types ¶
type ServerDependencies ¶
type ServerDependencies = core.ServerDependencies
type VersionStatusResponse ¶
type VersionStatusResponse struct {
Current string `json:"current"` // Current installed version
Commit string `json:"commit"` // Current commit hash
BuildDate string `json:"build_date"` // Build timestamp
Latest string `json:"latest"` // Latest available version
UpdateAvailable bool `json:"update_available"` // Whether an update is available
Prerelease bool `json:"prerelease"` // Whether latest is a prerelease
CheckedAt string `json:"checked_at"` // When the check was performed
Source string `json:"source"` // "cached" or "fresh"
Error string `json:"error,omitempty"` // Error message if any
}
VersionStatusResponse represents the response for version status endpoints.
Click to show internal directories.
Click to hide internal directories.