v0.8.0 decoupled session management and auth, auth deprecated except mtls, session management, tls and mtls flows fixed, docs and config outdated

This commit is contained in:
2025-11-06 16:43:46 -05:00
parent 7e542b660a
commit dcf803bac1
55 changed files with 2894 additions and 3807 deletions

View File

@ -4,13 +4,15 @@ package version
import "fmt"
var (
// Version is set at compile time via -ldflags
Version = "dev"
// Version is the application version, set at compile time via -ldflags.
Version = "dev"
// GitCommit is the git commit hash, set at compile time.
GitCommit = "unknown"
// BuildTime is the application build time, set at compile time.
BuildTime = "unknown"
)
// Returns a formatted version string
// String returns a detailed, formatted version string including commit and build time.
func String() string {
if Version == "dev" {
return fmt.Sprintf("dev (commit: %s, built: %s)", GitCommit, BuildTime)
@ -18,7 +20,7 @@ func String() string {
return fmt.Sprintf("%s (commit: %s, built: %s)", Version, GitCommit, BuildTime)
}
// Returns just the version tag
// Short returns just the version tag.
func Short() string {
return Version
}