models

package
v0.0.0-...-688b0a6 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: MIT Imports: 5 Imported by: 0

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