Documentation
¶
Overview ¶
Package postgres provides a PostgreSQL-backed searchgate.Store so the search-first gate's per-session discovery signal is shared across replicas.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store implements searchgate.Store using PostgreSQL.
func New ¶
New creates a PostgreSQL discovery store. Discovery records expire ttl after the most recent MarkDiscovered.
func (*Store) HasDiscovered ¶
HasDiscovered reports whether the session has a non-expired discovery record.
Click to show internal directories.
Click to hide internal directories.