compatible

package
v0.1.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package compatible linux version

Index

Constants

This section is empty.

Variables

View Source
var (
	SUCCESS = "\033[32m\t\t\t\t\t[OK]\033[0m"     // Show colored "OK"
	FAILED  = "\033[31m\t\t\t\t\t[FAILED]\033[0m" // Show colored "FAILED"
)
View Source
var CmdsRunNotifySignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGTERM, syscall.SIGUSR2}
View Source
var CmdsUpdateProcessSignal = syscall.SIGUSR2

CmdsUpdateProcessSignal CmdsUpdateProcessSignal

Functions

func AppClose

func AppClose() error

AppClose AppClose

func CheckPrivileges

func CheckPrivileges() error

CheckPrivileges 检查是否有管理员权限

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL