package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Jan 17, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Cache contains a collection of sync token values.
Methods on Cache are safe for concurrent use.
Don't use this type directly, use NewCache() instead.
NewCache creates a new instance of Cache.
Get returns a sync token representing the current state of the cache.
Format is "<id1>=<value1>,<id2>=<value2>,..."
Set adds or updates the cache with the provided sync token.
Policy is a pipeline policy for managing Sync-Token
values in HTTP requests and responses.
Don't use this type directly, use NewPolicy() instead.
NewPolicy creates a new instance of Policy.
Do implements the policy.Policy interface on type Policy.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.