OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package mail | 5 package mail |
6 | 6 |
7 // Interface is the interface for all of the mail methods. | 7 // Interface is the interface for all of the mail methods. |
8 // | 8 // |
9 // These replicate the methods found here: | 9 // These replicate the methods found here: |
10 // https://godoc.org/google.golang.org/appengine/mail | 10 // https://godoc.org/google.golang.org/appengine/mail |
11 type Interface interface { | 11 type Interface interface { |
12 Send(msg *Message) error | 12 Send(msg *Message) error |
13 SendToAdmins(msg *Message) error | 13 SendToAdmins(msg *Message) error |
14 | 14 |
15 Testable() Testable | 15 Testable() Testable |
16 } | 16 } |
OLD | NEW |