Documentation
¶
Overview ¶
Package catalog stores disposable browsing metadata, never authentication files, full transcript bodies, or evidence used to authorize a transfer.
Index ¶
- type Store
- func (s *Store) Claim(scope, owner string) bool
- func (s *Store) Close() error
- func (s *Store) Invalidate()
- func (s *Store) InvalidatePath(path string)
- func (s *Store) Load(scope, path, signature string, dst any) bool
- func (s *Store) Read(scope string, dst any) bool
- func (s *Store) Release(scope, owner string)
- func (s *Store) Save(scope, path, signature string, value any)
- func (s *Store) Update(scope string, merge func([]byte) any)
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
}
func (*Store) Claim ¶
Claim coalesces browsing collectors across front ends. It is an OS file lock, not a database row: holding, renewing and releasing it writes nothing, and a crashed owner's lock is released with its process. A lock that cannot be taken for any reason other than another holder never blocks discovery.
func (*Store) Invalidate ¶
func (s *Store) Invalidate()