Read a ledger: an instance's state, its history oldest first with sequence and author, a watch of its states, a declared index (issue 1966 T3)
This commit is contained in:
@@ -87,6 +87,8 @@ type Ledger struct {
|
||||
History History
|
||||
State State
|
||||
Snapshots Snapshots
|
||||
// Indexes are its declared indexes' buckets, by index name.
|
||||
Indexes map[string]Index
|
||||
// Now is the clock an operation is stamped by; time.Now when nil.
|
||||
Now func() time.Time
|
||||
// Logf says what an apply could not do after its operation was taken; nothing is said when nil.
|
||||
|
||||
Reference in New Issue
Block a user