Versions in this module Expand all Collapse all v0 v0.24.0 Oct 5, 2025 v0.21.0 Oct 5, 2025 Changes in this version + type AccessHasher struct + func NewAccessHasher(pool *pgxpool.Pool, table string) *AccessHasher + func (h *AccessHasher) GetChannelAccessHash(ctx context.Context, userID, channelID int64) (int64, bool, error) + func (h *AccessHasher) SetChannelAccessHash(ctx context.Context, userID, channelID, accessHash int64) error + type Client struct + func (c *Client) Get(ctx context.Context, _ string) (string, error) + func (c *Client) Set(ctx context.Context, _ string, sessionStr string) error + type SessionStorage struct + func NewSessionStorage(pool *pgxpool.Pool, id int64, table string) SessionStorage