Documentation
¶
Overview ¶
Package journal opens private, exclusively owned SQLite journals.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application int
Application prevents a broker from opening a worker journal or the reverse.
const ( // Broker identifies the broker receipt/status journal. Broker Application = 0x43584252 // Worker identifies the worker ownership journal. Worker Application = 0x4358574b )
type Journal ¶
Journal keeps one connection and its exclusive lock until Close. Callers serialize their own state transitions; a second process cannot take ownership while this connection is alive. Protect the directory against owner mutation.
Click to show internal directories.
Click to hide internal directories.