Documentation
¶
Index ¶
- type Cache
- func (c *Cache) CheckAccessToken(ctx context.Context, userID, token string) (bool, error)
- func (c *Cache) CheckRefreshToken(ctx context.Context, userID, token string) (bool, error)
- func (c *Cache) RemoveAccessToken(ctx context.Context, userID, token string) error
- func (c *Cache) RemoveRefreshToken(ctx context.Context, userID, token string) error
- func (c *Cache) SetAccessToken(ctx context.Context, userID, token string) error
- func (c *Cache) SetRefreshToken(ctx context.Context, userID, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) CheckAccessToken ¶
func (*Cache) CheckRefreshToken ¶
func (*Cache) RemoveAccessToken ¶
func (*Cache) RemoveRefreshToken ¶
func (*Cache) SetAccessToken ¶
Click to show internal directories.
Click to hide internal directories.