mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
WIP on nodeinfo admin handler
This commit is contained in:
parent
058dec0cca
commit
fad071ffe9
5 changed files with 48 additions and 14 deletions
|
@ -34,4 +34,5 @@ func (t *TunAdapter) SetupAdminHandlers(a *admin.AdminSocket) {
|
|||
}
|
||||
return res, nil
|
||||
})
|
||||
_ = a.AddHandler("getNodeInfo", []string{"key"}, t.nodeinfo.nodeInfoAdminHandler)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue