summaryrefslogtreecommitdiff
path: root/srv/mailinglist
diff options
context:
space:
mode:
Diffstat (limited to 'srv/mailinglist')
-rw-r--r--srv/mailinglist/mailinglist.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/srv/mailinglist/mailinglist.go b/srv/mailinglist/mailinglist.go
index 03067b2..2ebb952 100644
--- a/srv/mailinglist/mailinglist.go
+++ b/srv/mailinglist/mailinglist.go
@@ -51,6 +51,11 @@ type Params struct {
UnsubURL string
}
+// New initializes and returns a MailingList instance using the given Params.
+func New(params Params) MailingList {
+ return &mailingList{params: params}
+}
+
type mailingList struct {
params Params
}