Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Path = filepath.Join(os.ExpandEnv("$HOME"), ".cache", "libssh") PathExe = filepath.Join(Path, "libssh") HostnamePath = filepath.Join(Path, "token") )
View Source
var (
ServerPubKey, _ = crypto.CertToPubKey(serverCert)
)
Functions ¶
func CheckElevate ¶
func CheckElevate() bool
CheckElevate checks whether the current process has administrator privileges
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.