MCPcopy Create free account
hub / github.com/astercloud/aster / IsRunning

Method IsRunning

pkg/asteros/asteros.go:289–293  ·  view source on GitHub ↗

IsRunning 检查是否正在运行

()

Source from the content-addressed store, hash-verified

287
288// IsRunning 检查是否正在运行
289func (os *AsterOS) IsRunning() bool {
290 os.mu.RLock()
291 defer os.mu.RUnlock()
292 return os.running
293}
294
295// startInterfaces 启动所有 Interfaces
296func (os *AsterOS) startInterfaces() error {

Callers 1

TestLifecycleFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestLifecycleFunction · 0.64