aboutsummaryrefslogtreecommitdiff
path: root/session.go
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-11 12:56:59 +0100
committerSimon Ser <contact@emersion.fr>2019-12-11 12:56:59 +0100
commit28a8f3f6acc148b2dde213f2beb6e24c67338b5d (patch)
tree380ca888f70a788eaab858cdf8691266729b67a6 /session.go
parent86359156ee607bc3ddac99cf9a6295f8ff664482 (diff)
downloadalps-28a8f3f6acc148b2dde213f2beb6e24c67338b5d.tar.gz
alps-28a8f3f6acc148b2dde213f2beb6e24c67338b5d.zip
Unexport NewSessionManager
This isn't intended to be used by plugins.
Diffstat (limited to 'session.go')
-rw-r--r--session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.go b/session.go
index d35a2da..63ba997 100644
--- a/session.go
+++ b/session.go
@@ -81,7 +81,7 @@ type SessionManager struct {
sessions map[string]*Session // protected by locker
}
-func NewSessionManager(newIMAPClient func() (*imapclient.Client, error)) *SessionManager {
+func newSessionManager(newIMAPClient func() (*imapclient.Client, error)) *SessionManager {
return &SessionManager{
sessions: make(map[string]*Session),
newIMAPClient: newIMAPClient,