events

package
v0.0.0-...-039f709 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	ID        primitive.ObjectID `json:"id"" bson:"_id"`
	TaskID    primitive.ObjectID `json:"taskID" bson:"taskID"`
	CreatedBy primitive.ObjectID `json:"createdBy" bson:"createdBy"`
	CreatedAt time.Time          `json:"createdAt" bson:"createdAt"`
	Type      EventType          `json:"type" bson:"type"`
}

type EventType

type EventType string
const (
	EventStarted    EventType = "STARTED"
	EventInProgress EventType = "INPROGRESS"
	EventPaused     EventType = "PAUSED"
	EventCompleted  EventType = "COMPLETED"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL