aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
Diffstat (limited to 'session.go')
-rw-r--r--session.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.go b/session.go
index 63ba997..e4e2eb0 100644
--- a/session.go
+++ b/session.go
@@ -45,7 +45,7 @@ type Session struct {
imapConn *imapclient.Client // protected by locker, can be nil
}
-func (s *Session) Ping() {
+func (s *Session) ping() {
s.pings <- struct{}{}
}
@@ -102,7 +102,7 @@ func (sm *SessionManager) connect(username, password string) (*imapclient.Client
return c, nil
}
-func (sm *SessionManager) Get(token string) (*Session, error) {
+func (sm *SessionManager) get(token string) (*Session, error) {
sm.locker.Lock()
defer sm.locker.Unlock()