Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Context, Cancel = context.WithCancel(context.Background())
ID = ""
WorkingDirectory, _ = os.Getwd()
Product string = "elkeid-agent"
Control = filepath.Join(WorkingDirectory, "elkeidctl")
// from linker
Version string
)
Functions ¶
func SetAbnormal ¶
func SetAbnormal(err string)
func SetRunning ¶
func SetRunning()
func Sync() { mu.Lock() defer mu.Unlock() currentState = StateTypeSyncing abnormalErrs = []string{} }
Types ¶
Click to show internal directories.
Click to hide internal directories.