MCPcopy Create free account
hub / github.com/DEROFDN/Engram / setDaemon

Function setDaemon

functions.go:528–533  ·  view source on GitHub ↗

Set the daemon endpoint setting to the local Graviton tree

(s string)

Source from the content-addressed store, hash-verified

526
527// Set the daemon endpoint setting to the local Graviton tree
528func setDaemon(s string) (err error) {
529 StoreValue("settings", []byte("endpoint"), []byte(s))
530 globals.Arguments["--daemon-address"] = s
531 session.Daemon = s
532 return
533}
534
535// Get Cyberdeck endpoint setting from the local Graviton tree
536func getCyberdeck(key string) (r string) {

Callers 2

getDaemonFunction · 0.85
layoutSettingsFunction · 0.85

Calls 1

StoreValueFunction · 0.85

Tested by

no test coverage detected