Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPorts ¶
func DefaultPorts() []int
func FormatDefault ¶ added in v0.8.0
func FormatDefault() string
FormatDefault returns the default ports as a compact string (e.g. "22,80,443").
func NormalizeCustom ¶
NormalizeCustom returns a normalized CSV list for custom ports: valid tokens only, duplicates removed, and range tokens preserved.
func SaveConfig ¶
SaveConfig saves port configuration by name (e.g. "ports", "target")
Types ¶
Click to show internal directories.
Click to hide internal directories.