Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NilUserCache ¶
type NilUserCache struct { }
NilUserCache 空实现
func (*NilUserCache) GetUserFromCache ¶
func (*NilUserCache) GetUserFromCache(username string) (userdetails.UserDetails, error)
GetUserFromCache 从缓存中获取用户信息
func (*NilUserCache) PutUserInCache ¶
func (*NilUserCache) PutUserInCache(user userdetails.UserDetails) error
PutUserInCache 增加缓存
func (*NilUserCache) RemoveUserFromCache ¶
func (*NilUserCache) RemoveUserFromCache(username string) error
RemoveUserFromCache 移除缓存
Click to show internal directories.
Click to hide internal directories.