api_models

package
v0.0.0-...-cb6fcfe Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2020 License: AGPL-3.0 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    [16]byte `json:"id" gorm:"column:id;primary_key"`
	State string   `json:"state" gorm:"column:state"`
}

type AutomaticJob

type AutomaticJob struct {
	JobName    string        `gorm:"column:job_name;primary_key"`
	Action     string        `gorm:"column:action"`
	Frequency  time.Duration `gorm:"column:frequency"`
	LastRun    time.Time     `gorm:"column:last_run"`
	NextRun    time.Time     `gorm:"column:next_run"`
	Parameters string        `gorm:"column:parameters"`
	Count      uint64        `gorm:"column:count"`

	Enabled bool `gorm:"column:enabled"`
}

func (AutomaticJob) ColumnName

func (AutomaticJob) ColumnName() string

Jump to

Keyboard shortcuts

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