mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-04 02:56:28 +03:00
Update nodeinfo
This commit is contained in:
@@ -41,12 +41,12 @@ func NewYggdrasilTransport(log *log.Logger, sk ed25519.PrivateKey, pk ed25519.Pu
|
||||
},
|
||||
},
|
||||
NodeInfo: map[string]interface{}{
|
||||
"name": "Yggmail",
|
||||
"name": hex.EncodeToString(pk) + "@yggmail",
|
||||
},
|
||||
NodeInfoPrivacy: true,
|
||||
}
|
||||
yellow := color.New(color.FgYellow).SprintfFunc()
|
||||
glog := gologme.New(log.Writer(), fmt.Sprintf("[ %s ] ", yellow("Yggdrasil")), gologme.LstdFlags | gologme.Lmsgprefix)
|
||||
glog := gologme.New(log.Writer(), fmt.Sprintf("[ %s ] ", yellow("Yggdrasil")), gologme.LstdFlags|gologme.Lmsgprefix)
|
||||
glog.EnableLevel("warn")
|
||||
glog.EnableLevel("error")
|
||||
glog.EnableLevel("info")
|
||||
|
||||
Reference in New Issue
Block a user