package
1.0.0-alpha
Repository: https://github.com/terrextech/agg-device-cmd.git
Documentation: pkg.go.dev

# Functions

Delete handles "delete" events.
Insert handles "insert" events.
Update handles "update" events.

# Constants

AggregateID is the global AggregateID for Device Aggregate.
DatabaseError is when some operation related to Database, such as insert or find, goes wrong and the task cannot proceed.
InternalError represents an error when something goes wrong, and its our fault.
UserError occurs when there's an error because of user's action.

# Structs

Device defines the Device Aggregate.