diff options
Diffstat (limited to 'conn_pool.go')
-rw-r--r-- | conn_pool.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/conn_pool.go b/conn_pool.go index 6e244b0..1ccc879 100644 --- a/conn_pool.go +++ b/conn_pool.go @@ -21,14 +21,14 @@ func generateToken() (string, error) { var ErrSessionExpired = errors.New("session expired") type Session struct { - imapConn *imapclient.Client + imapConn *imapclient.Client username, password string } // TODO: expiration timer type ConnPool struct { - locker sync.Mutex - sessions map[string]*Session + locker sync.Mutex + sessions map[string]*Session } func NewConnPool() *ConnPool { |