linsk/share/defaults.go

17 lines
266 B
Go
Raw Normal View History

2023-08-31 20:17:55 +01:00
package share
import (
"net"
2023-09-02 11:28:23 +01:00
"github.com/AlexSSD7/linsk/osspecifics"
2023-08-31 20:17:55 +01:00
)
func IsSMBExtModeDefault() bool {
2023-09-02 11:28:23 +01:00
return osspecifics.IsWindows()
2023-08-31 20:17:55 +01:00
}
var defaultListenIP = net.ParseIP("127.0.0.1")
func GetDefaultListenIPStr() string {
return defaultListenIP.String()
}