Documentation
¶
Overview ¶
Package version parses semantic versions and checks for update availability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckKeyAge ¶
CheckKeyAge builds a nudge when the encryption key is older than the configured rotation threshold.
Parameters:
- sessionID: current session identifier
Returns:
- string: formatted nudge box (with leading newline), or empty string
func ParseMajorMinor ¶
ParseMajorMinor extracts major and minor version numbers from a semver string like "1.2.3". Returns ok=false for unparseable versions.
Parameters:
- ver: version string in semver format
Returns:
- major: major version number
- minor: minor version number
- ok: true if parsing succeeded
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.