Notify switch idle

This commit is contained in:
Neil Alexander 2019-01-05 00:32:28 +00:00
parent 00bf71a09a
commit 4363283a6f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 6 additions and 0 deletions

View file

@ -115,6 +115,10 @@ func (c *Core) AWDLCreateInterface(boxPubKey string, sigPubKey string, name stri
}
}
func (c *Core) AWDLShutdownInterface(name string) {
c.awdl.shutdown(name)
}
func (c *Core) AWDLRecvPacket(identity string) ([]byte, error) {
if intf := c.awdl.getInterface(identity); intf != nil {
return <-intf.recv, nil