MCPcopy Create free account
hub / github.com/Cyinx/einx / Run

Function Run

einx_default.go:24–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func Run() {
25 slog.Run()
26 console.Run()
27 network.Run()
28 module.Start()
29 c := make(chan os.Signal, 1)
30 signal.Notify(c, os.Interrupt, os.Kill)
31 sig := <-c
32 slog.LogWarning("einx", "einx will close down (signal: %v)", sig)
33 _einx_default.do_close()
34}
35
36func Close() {
37 _einx_default.close()

Callers

nothing calls this directly

Calls 3

RunMethod · 0.65
StartMethod · 0.65
do_closeMethod · 0.45

Tested by

no test coverage detected