models

package
v0.0.0-...-8b16d56 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	Method string
	URL    string
	Name   string
	UUID   uuid.UUID
}

Task is the structure that contains all relevant information for a task

func (*Task) Create

func (task *Task) Create() (err error)

Create creates a task

func (*Task) Get

func (task *Task) Get(uuid uuid.UUID) (err error)

Get returns a task based on its uuid

Jump to

Keyboard shortcuts

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