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

Unified Diff: service/mail/interface.go

Issue 1525923002: Implement Mail service. (Closed) Base URL: https://github.com/luci/gae.git@filter_user
Patch Set: tests and words 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
« no previous file with comments | « service/mail/context.go ('k') | service/mail/message.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: service/mail/interface.go
diff --git a/service/mail/interface.go b/service/mail/interface.go
new file mode 100644
index 0000000000000000000000000000000000000000..813797c27e2e9a625b9b9adf15fc39d46f88844f
--- /dev/null
+++ b/service/mail/interface.go
@@ -0,0 +1,16 @@
+// 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.
+//
+// These replicate the methods found here:
+// https://godoc.org/google.golang.org/appengine/mail
+type Interface interface {
+ Send(msg *Message) error
+ SendToAdmins(msg *Message) error
+
+ Testable() Testable
+}
« no previous file with comments | « service/mail/context.go ('k') | service/mail/message.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698