add public IPv4/6 runtime options and detect functions

This commit is contained in:
nikk gitanes
2022-01-20 02:18:24 +03:00
parent 705e15df48
commit 0603008dfe
3 changed files with 61 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ var (
Port string
ReadOnly bool
HttpAuth bool
PubIPv4 string
PubIPv6 string
)
func InitSets(readOnly bool) {