diff options
Diffstat (limited to 'notifier.go')
-rw-r--r-- | notifier.go | 7 |
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 +} |