diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-11 12:56:59 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-11 12:56:59 +0100 |
commit | 28a8f3f6acc148b2dde213f2beb6e24c67338b5d (patch) | |
tree | 380ca888f70a788eaab858cdf8691266729b67a6 /session.go | |
parent | 86359156ee607bc3ddac99cf9a6295f8ff664482 (diff) | |
download | alps-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |