aboutsummaryrefslogtreecommitdiffstats
path: root/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'session.go')
-rw-r--r--session.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/session.go b/session.go
index 8f3f748..d75be10 100644
--- a/session.go
+++ b/session.go
@@ -58,9 +58,9 @@ func (s *Session) Username() string {
return s.username
}
-// Do executes an IMAP operation on this session. The IMAP client can only be
-// used from inside f.
-func (s *Session) Do(f func(*imapclient.Client) error) error {
+// DoIMAP executes an IMAP operation on this session. The IMAP client can only
+// be used from inside f.
+func (s *Session) DoIMAP(f func(*imapclient.Client) error) error {
s.locker.Lock()
defer s.locker.Unlock()