8 Commits

Author SHA1 Message Date
Michael Stapelberg
2e8be894f6 updateflag: remove global state
related to https://github.com/gokrazy/tools/pull/68
2025-12-06 08:41:40 +01:00
Michael Stapelberg
95a29c8f05 updateflag: introduce Value type to avoid global state
related to https://github.com/gokrazy/tools/pull/68
2025-12-05 17:43:05 +01:00
Michael Stapelberg
839bc69fbd remove tlsflag and updateflag Register functions
These flags are no longer used.

related to https://github.com/gokrazy/tools/pull/68
2025-12-05 17:37:09 +01:00
Michael Stapelberg
a645001f8b BaseURL: select port based on schema, plumb through custom httpsPort
Thanks to Christian Schlögl for the report.
2023-10-31 19:29:44 +01:00
Michael Stapelberg
cd72f827ba updateflag: refactor to reduce duplication 2023-01-15 13:35:14 +01:00
Michael Stapelberg
7b8403f423 add getters/setters for updateflag and tlsflag 2022-10-02 23:10:28 +02:00
Michael Stapelberg
1821f343e4 allow specifying the name of the -update flag
related to https://github.com/gokrazy/breakglass/issues/13
2022-04-30 21:25:44 +02:00
Michael Stapelberg
92d32e572d refactor -update flag into internal package (for upcoming reuse) 2021-11-21 15:57:32 +01:00