comparison pkg/auth/store.go @ 4160:7cccf7fef3e8

Made 'golint' and 'staticcheck' happy with auth package.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 02 Aug 2019 17:08:58 +0200
parents 0db742c7813d
children 866eae1bd888
comparison
equal deleted inserted replaced
4159:80e9cfb2be98 4160:7cccf7fef3e8
23 bolt "github.com/etcd-io/bbolt" 23 bolt "github.com/etcd-io/bbolt"
24 ) 24 )
25 25
26 // ErrNoSuchToken is returned if a given token does not 26 // ErrNoSuchToken is returned if a given token does not
27 // exists th the session store. 27 // exists th the session store.
28 var ErrNoSuchToken = errors.New("No such token") 28 var ErrNoSuchToken = errors.New("no such token")
29 29
30 // Sessions is the global connection pool. 30 // Sessions is the global connection pool.
31 var Sessions *SessionStore 31 var Sessions *SessionStore
32 32
33 // SessionStore encapsulates a set of currently active sessions. 33 // SessionStore encapsulates a set of currently active sessions.