model

package
v0.0.0-...-bf83fb3 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProcessStatusActive   = "active"
	ProcessStatusInactive = "inactive"
)
View Source
const (
	ProcessRunStatusRunning   = "running"
	ProcessRunStatusCompleted = "completed"
	ProcessRunStatusFailed    = "failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Process

type Process struct {
	ID             int
	Code           string
	Name           string
	LastRunTime    time.Time
	NextRunTime    time.Time
	Interval       time.Duration
	Status         string
	Message        string
	SuccessCount   int
	AverageRunTime time.Duration
	CreatedOn      time.Time
	UpdatedOn      time.Time
}

type ProcessRun

type ProcessRun struct {
	ID        int
	ProcessID int
	Status    string
	RunTime   time.Duration
	Error     string
	CreatedOn time.Time
	UpdatedOn time.Time
}

Jump to

Keyboard shortcuts

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