Documentation
¶
Index ¶
- type RedisConn
- func (r *RedisConn) CreateAuthToken(ctx context.Context) (string, error)
- func (r *RedisConn) CreateSessionToken(ctx context.Context, email string) (string, error)
- func (r *RedisConn) DeleteSessionToken(ctx context.Context, token string) error
- func (r *RedisConn) GetSessionToken(ctx context.Context, token string) (string, error)
- func (r *RedisConn) VerifyAndDelToken(ctx context.Context, token string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisConn ¶
type RedisConn struct {
// contains filtered or unexported fields
}
func (*RedisConn) CreateAuthToken ¶
func (*RedisConn) CreateSessionToken ¶
func (*RedisConn) DeleteSessionToken ¶
func (*RedisConn) GetSessionToken ¶
Click to show internal directories.
Click to hide internal directories.