initial commit
This commit is contained in:
9
protonvpn-wg-confgen/internal/constants/session.go
Normal file
9
protonvpn-wg-confgen/internal/constants/session.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package constants
|
||||
|
||||
// Session defaults
|
||||
const (
|
||||
SessionFileName = ".protonvpn-session.json"
|
||||
SessionFileMode = 0o600 // Read/write for owner only
|
||||
SessionRefreshDays = 7 // Refresh when less than 7 days remain
|
||||
SessionExpirySeconds = 2592000 // 30 days in seconds (from API)
|
||||
)
|
||||
Reference in New Issue
Block a user