Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Close()
- func (d *Dao) CookieCache(c context.Context, session string) (res *model.Cookie, err error)
- func (d *Dao) CookieDeleted(c context.Context, start, count int64, suffix string) (res []*model.AuthCookie, err error)
- func (d *Dao) DelCookieCache(c context.Context, session string) (err error)
- func (d *Dao) DelTokenCache(c context.Context, token string) (err error)
- func (d *Dao) TokenCache(c context.Context, sd string) (res *model.Token, err error)
- func (d *Dao) TokenDeleted(c context.Context, start, count int64, suffix string) (res []*model.AuthToken, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao dao
func (*Dao) CookieCache ¶
CookieCache get cookie info from cache
func (*Dao) CookieDeleted ¶
func (d *Dao) CookieDeleted(c context.Context, start, count int64, suffix string) (res []*model.AuthCookie, err error)
CookieDeleted get cookie deleted
func (*Dao) DelCookieCache ¶
DelCookieCache del cache.
func (*Dao) DelTokenCache ¶
DelTokenCache del cache.
func (*Dao) TokenCache ¶
TokenCache get token from cache
Click to show internal directories.
Click to hide internal directories.