Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1592)

Unified Diff: service/mail/interface.go

Issue 1525923002: Implement Mail service. (Closed) Base URL: https://github.com/luci/gae.git@filter_user
Patch Set: add tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: service/mail/interface.go
diff --git a/service/mail/interface.go b/service/mail/interface.go
new file mode 100644
index 0000000000000000000000000000000000000000..cb949800f4d66a7b741383d9bd11f6bae23a7e7f
--- /dev/null
+++ b/service/mail/interface.go
@@ -0,0 +1,13 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package mail
+
+// Interface is the interface for all of the mail methods.
+type Interface interface {
+ Send(msg *Message) error
+ SendToAdmins(msg *Message) error
martiniss 2015/12/16 21:54:15 Why is this a separate function? Also, do these ne
iannucci 2015/12/17 00:01:07 These are the same as the functions in the SDK. I'
+
+ Testable() Testable
+}

Powered by Google App Engine
This is Rietveld 408576698