Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) GetAccessToken ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func NewRedisRepo ¶
func NewRedisRepo(appId string, host string, port int, password string) *RedisCache
func (*RedisCache) Close ¶
func (rc *RedisCache) Close()
func (*RedisCache) GetAccessToken ¶
func (*RedisCache) Lock ¶
func (rc *RedisCache) Lock() error
func (*RedisCache) UnLock ¶
func (rc *RedisCache) UnLock()
func (*RedisCache) UpdateAccessToken ¶
Click to show internal directories.
Click to hide internal directories.