startup

package
v0.0.0-...-a6ce1d2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2018 License: GPL-2.0 Imports: 3 Imported by: 6

Documentation

Overview

Package startup provides a numerically ordered startup sequence

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Start starts the robot

Types

type Task

type Task struct {
	Time uint8
	Task func() error
}

Task represents a task to be run on startup

func NewTask

func NewTask(time uint8, task func() error) (t *Task)

NewTask allocates & initializes a Task Time:

 1: Before parsing flags
	200-249: Setup for web interface
	250: Start web interface

Jump to

Keyboard shortcuts

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