GO-2024-2689 : Temporal Server Denial of Service in go.temporal.io/server
Discover Packages
go.temporal.io/server
common
clock
hybrid_logical_clock
package
Version:
v1.21.4
Opens a new window with list of versions in this module.
Published: Jul 28, 2023
License: MIT
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
Documentation
¶
Compare 2 clocks, returns 0 if a == b, -1 if a > b, 1 if a < b
Equal returns whether two clocks are equal
Greater returns true if a is greater than b
Greater returns true if a is greater than b
UTC returns UTC time of a clock in millisecond resolution.
Max returns the maximum of two clocks
Min returns the minimum of two clocks
Next generates the next clock timestamp given the current clock.
HybridLogicalClock requires the previous clock to ensure that time doesn't move backwards and the next clock is
monotonically increasing.
Ptr returns a pointer to a clock (to ease inlining the APIs in this package).
Zero generates a zeroed logical clock for the cluster ID.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.