aboutsummaryrefslogtreecommitdiffstats
path: root/conn_pool.go
diff options
context:
space:
mode:
authorLibravatarLibravatar Simon Ser <[email protected]> 2019-12-03 19:48:28 +0100
committerLibravatarLibravatar Simon Ser <[email protected]> 2019-12-03 19:49:04 +0100
commit8de93c50d2cf2144cfd3050cf7970a4ee9860bf4 (patch)
treebf161d7df1d4c73a7cdb2c2f365c5d0ca91f9b4c /conn_pool.go
parent6344806755202babab99564bee362d9e5e238185 (diff)
downloadalps-8de93c50d2cf2144cfd3050cf7970a4ee9860bf4.tar.gz
alps-8de93c50d2cf2144cfd3050cf7970a4ee9860bf4.tar.bz2
alps-8de93c50d2cf2144cfd3050cf7970a4ee9860bf4.zip
Add basic pagination to message list
References: https://todo.sr.ht/~sircmpwn/koushin/22
Diffstat (limited to 'conn_pool.go')
-rw-r--r--conn_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn_pool.go b/conn_pool.go
index 69281af..34c51bb 100644
--- a/conn_pool.go
+++ b/conn_pool.go
@@ -21,7 +21,7 @@ func generateToken() (string, error) {
var ErrSessionExpired = errors.New("session expired")
type Session struct {
- locker sync.Mutex
+ locker sync.Mutex
imapConn *imapclient.Client
username, password string
}