Discover Packages
github.com/target/goalert
swo
swomsg
package
Version:
v0.33.0
Opens a new window with list of versions in this module.
Published: Nov 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Log is a reader for the switchover log.
NewLog will create a new log reader, skipping any existing events.
Append will append a message to the end of the log. Using an exclusive lock on the table, it ensures that each message will increment the log ID
by exactly 1 with no gaps. All observers will see the messages in the same order.
Events will return a channel that will receive all events in the log.
Message represents a single event in the switchover log.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.