Versions in this module Expand all Collapse all v1 v1.1.0 Apr 6, 2021 Changes in this version + type Backend interface + Close func() error + Log func(logrus.Entry) error + User func(uid.ID) (types.User, error) + var BackendToUse Backend + type Redis struct + func NewRedis(opt godis.Option) *Redis + func (r *Redis) Close() error + func (r *Redis) Log(entry logrus.Entry) error + func (r *Redis) User(id uid.ID) (types.User, error) + type SQL struct + func NewSQL(driverName string, dataSourceName string) (SQL, error) + func (S SQL) Close() error + func (S SQL) Log(entry logrus.Entry) error + func (S SQL) User(id uid.ID) (types.User, error) + type TestNoSecurity struct + func (t TestNoSecurity) Close() error + func (t TestNoSecurity) Log(entry logrus.Entry) error + func (t TestNoSecurity) User(id uid.ID) (types.User, error)