model

package
v0.0.0-...-765649b Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	ID         primitive.ObjectID `bson:"_id"`
	Type       []string           `bson:"type"`
	EventCount int                `bson:"event_count"`
}

type Event

type Event struct {
	ID          string      `bson:"_id"`
	ActionID    string      `bson:"action_id"`
	Description string      `bson:"description"`
	Delay       string      `bson:"delay"`
	ReleaseTime float64     `bson:"ReleaseTime"`
	Topic       string      `bson:"topic"`
	Payload     interface{} `json:"payload"`
	Status      string      `bson:"status"`
}

Jump to

Keyboard shortcuts

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