lobby/daemon/update.go
Adam Štrauch e06a5cc94b
Implementation of change detection
If there is an update in discovery an function is triggered
that can pick it up.
2021-09-11 11:58:27 +02:00

14 lines
398 B
Go

package main
import (
"github.com/by-cx/lobby/server"
)
// These functions are called when something has changed in the storage
// discoveryChange is called when daemon detects that a newly arrived discovery
// packet is somehow different than the localone. This can be used to trigger
// some action in the local machine.
func discoveryChange(discovery server.Discovery) error {
return nil
}