Pulse/pkg/licensing/dev_mode_release.go
2026-03-18 16:06:30 +00:00

23 lines
991 B
Go

//go:build release
package licensing
// isDemoMode always returns false in release builds.
// The PULSE_MOCK_MODE env var is ignored to prevent feature-gate bypass.
func isDemoMode() bool { return false }
// isDevMode always returns false in release builds.
// The PULSE_DEV env var is ignored to prevent feature-gate bypass.
func isDevMode() bool { return false }
// isLicenseValidationDevMode always returns false in release builds.
// The PULSE_LICENSE_DEV_MODE env var is ignored to prevent signature bypass.
func isLicenseValidationDevMode() bool { return false }
// allowPublicKeyEnvOverride returns false in release builds, preventing
// PULSE_LICENSE_PUBLIC_KEY from overriding the embedded key.
func allowPublicKeyEnvOverride() bool { return false }
// allowLicenseServerURLEnvOverride returns false in release builds, preventing
// PULSE_LICENSE_SERVER_URL from redirecting activation/refresh/revocation traffic.
func allowLicenseServerURLEnvOverride() bool { return false }