Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCredentialsIsNotPresentInCache = errors.New("credentials username is not present as a key in the cache")
)
Functions ¶
This section is empty.
Types ¶
type RedisClient ¶
type RedisClient struct {
// contains filtered or unexported fields
}
func (*RedisClient) GetByUsername ¶
func (client *RedisClient) GetByUsername(ctx context.Context, username string) (*domain.Credentials, error)
func (*RedisClient) Save ¶
func (client *RedisClient) Save(ctx context.Context, credentials *domain.Credentials) error
Click to show internal directories.
Click to hide internal directories.