Documentation ¶ Index ¶ type Model func NewModel(db *md.Database) Model func (m Model) Commit(ctx context.Context, lastLoopIndex uint32) (err error) func (m Model) GetLastLoopIndex(ctx context.Context) (lli uint32, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { // contains filtered or unexported fields } func NewModel ¶ func NewModel(db *md.Database) Model func (Model) Commit ¶ func (m Model) Commit(ctx context.Context, lastLoopIndex uint32) (err error) func (Model) GetLastLoopIndex ¶ func (m Model) GetLastLoopIndex(ctx context.Context) (lli uint32, err error) Source Files ¶ View all Source files model.go model_commit.go model_get_last_loop_index.go new_model.go state.go Click to show internal directories. Click to hide internal directories.