Documentation
¶
Index ¶
- type Cache
- func (v *Cache) Drop(id int)
- func (v *Cache) FindByKey(kid types.KeyID) (*Token, bool)
- func (v *Cache) Patch(kid types.KeyID, key *Token)
- func (v *Cache) PollKeys(ctx context.Context, interval time.Duration)
- func (v *Cache) Set(state State)
- func (v *Cache) SyncKey(ctx context.Context, id int) error
- func (v *Cache) SyncKeys(ctx context.Context) error
- type State
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.