summaryrefslogtreecommitdiff
path: root/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/repository.go b/repository.go
new file mode 100644
index 0000000..f559406
--- /dev/null
+++ b/repository.go
@@ -0,0 +1,7 @@
+package registration
+
+type RegistrationRepository interface {
+ SaveRegistration(*Registration) error
+ GetUnconfirmedRegistrations() ([]*Registration, error)
+ ConfirmRegistration(registrationId string) (*Registration, error)
+}