Documentation ¶ Index ¶ type Model func NewModel(db *m.Database) Model func (m Model) AlreadyProcessed(ctx context.Context, eventID primitive.ObjectID) (alreadyProcessed bool, err error) func (m Model) Put(ctx context.Context, eventID primitive.ObjectID) (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 *m.Database) Model func (Model) AlreadyProcessed ¶ func (m Model) AlreadyProcessed(ctx context.Context, eventID primitive.ObjectID) (alreadyProcessed bool, err error) func (Model) Put ¶ func (m Model) Put(ctx context.Context, eventID primitive.ObjectID) (err error) Source Files ¶ View all Source files event_log.go model.go model_already_processed.go model_put.go new_model.go Click to show internal directories. Click to hide internal directories.