4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-03 11:57:48 +00:00

fix debug rpcs and cleanup core.Close/core.Stop

This commit is contained in:
Arceliar
2021-07-06 19:45:12 -05:00
parent e224c02d6d
commit 3704ebf4cb
4 changed files with 19 additions and 18 deletions

View File

@ -239,11 +239,6 @@ func (c *Core) PublicKey() ed25519.PublicKey {
return c.public
}
func (c *Core) Close() error {
c.Stop()
return nil
}
// Hack to get the admin stuff working, TODO something cleaner
type AddHandler interface {