Documentation ¶
Index ¶
- type CsrfRepo
- func (redisRepo *CsrfRepo) AddCsrf(ctx context.Context, active models.Csrf, lg *slog.Logger) (bool, error)
- func (redisRepo *CsrfRepo) CheckActiveCsrf(ctx context.Context, sid string, lg *slog.Logger) (bool, error)
- func (redisRepo *CsrfRepo) CheckRedisCsrfConnection(csrfCfg configs.DbRedisCfg)
- func (redisRepo *CsrfRepo) DeleteSession(ctx context.Context, sid string, lg *slog.Logger) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CsrfRepo ¶
type CsrfRepo struct { Connection bool // contains filtered or unexported fields }
func GetCsrfRepo ¶
func (*CsrfRepo) CheckActiveCsrf ¶
func (*CsrfRepo) CheckRedisCsrfConnection ¶
func (redisRepo *CsrfRepo) CheckRedisCsrfConnection(csrfCfg configs.DbRedisCfg)
Click to show internal directories.
Click to hide internal directories.