Affected by GO-2024-2965
and 1 other vulnerabilities
GO-2024-2965: Pomerium exposed OAuth2 access and ID tokens in user info endpoint response in github.com/pomerium/pomerium
GO-2024-3179: Pomerium service account access token may grant unintended access to databroker API in github.com/pomerium/pomerium
package
Version:
v0.23.0
Opens a new window with list of versions in this module.
Published: Aug 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package scheduler contains a priority queue based on time.
type Scheduler struct {
}
A Scheduler implements a priority queue based on time. The scheduler is not thread-safe for multiple writers.
New creates a new Scheduler.
Add adds an item to the scheduler.
Next retrieves the next time an item is due.
Remove removes an item from the scheduler and de-schedules it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.