Documentation
¶
Overview ¶
Package cloud net util, Web related assistant tools
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PortAsWeb ¶
PortAsWeb set port as web address, portArgs support parameter [2]string, []string, [2]any, []any
PortAsWeb(8080) -> http://localhost:8080
PortAsWeb([2]string{8080, 10.10.16.241}) -> http://10.10.16.241:8080
PortAsWeb([]string{8080, 10.10.16.241}) -> http://10.10.16.241:8080
PortAsWeb([2]any{8080, 10.10.16.241}) -> http://10.10.16.241:8080
PortAsWeb([]any{8080, 10.10.16.241}) -> http://10.10.16.241:8080
Types ¶
Click to show internal directories.
Click to hide internal directories.