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

Function getPrimaryUsername

functions.go:1943–1951  ·  view source on GitHub ↗

Get the Primary Username saved to a wallet's datashard

()

Source from the content-addressed store, hash-verified

1941
1942// Get the Primary Username saved to a wallet's datashard
1943func getPrimaryUsername() (err error) {
1944 u, err := GetEncryptedValue("settings", []byte("username"))
1945 if err != nil {
1946 session.Username = ""
1947 return
1948 }
1949 session.Username = string(u)
1950 return
1951}
1952
1953// Start the Gnomon indexer
1954func startGnomon() {

Callers 2

layoutPMFunction · 0.85
layoutIdentityFunction · 0.85

Calls 1

GetEncryptedValueFunction · 0.85

Tested by

no test coverage detected