Involved Source Files Package bbolt provides machine history tracking and traversal using
the bbolt K/V database.
Package-Level Type Names (total 3)
/* sort by: | */
BaseConfigamhist.BaseConfig Called is a list of mutation states (called ones) required to track a
transition. See also CalledExclude. Optional. CalledExclude flips Called to be a blocklist. Changed is a list of transition states which had clock changes, required to
track a transition. See also ChangedExclude. A state can be called, but not
changed. Optional. ChangedExclude flips Changed to be a blocklist.BaseConfig.Logbool MaxRecords is the maximum number of records to keep in the history before
a rotation begins. TODO StoreSchema keeps the latest machine schema and state names within
[MachineRecord]. Useful for dynamic machines. StoreTransitions is a flag to store TransitionRecord, in addition to
TimeRecord, for each tracked transition. TrackRejected is a flag to track rejected transitions. TrackedStates is a list of states to store clock values of.EncJsonbool amount of records to save in bulk (default: 100)
func NewMemory(ctx context.Context, db *bbolt.DB, mach am.Api, cfg Config, onErr func(err error)) (*Memory, error)
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.