summaryrefslogtreecommitdiff
path: root/notifier.go
diff options
context:
space:
mode:
authoruvok cheetah2023-12-08 17:05:40 +0000
committeruvok cheetah2023-12-08 17:05:40 +0000
commite6d7e091b7b6dde1c736e7baf01fad5fd5c1ce27 (patch)
tree38a11d4df6a3661ba9eec8d0e7c7df0d9116a19d /notifier.go
Initial Commit
Diffstat (limited to 'notifier.go')
-rw-r--r--notifier.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/notifier.go b/notifier.go
new file mode 100644
index 0000000..f5169c3
--- /dev/null
+++ b/notifier.go
@@ -0,0 +1,7 @@
+package registration
+
+// RegistrationNotifier forwards new registrations
+type RegistrationNotifier interface {
+ //NotifyNewRegistration notifies about a new registration
+ NotifyNewRegistration(reg *Registration) error
+}