controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCallback

func HandleCallback(data string) error

func ListTask

func ListTask() ([]dao.Task, error)

Types

type CreateTask

type CreateTask struct {
	Protocol string
	Data     json.RawMessage
}

func (*CreateTask) Handle

func (c *CreateTask) Handle(data string) error

type GenericTask

type GenericTask struct {
	ID int
}

func (*GenericTask) Delete

func (task *GenericTask) Delete() error

func (*GenericTask) Search

func (task *GenericTask) Search() error

func (*GenericTask) Start

func (g *GenericTask) Start(masterAddr, webAddr string) error

func (*GenericTask) Stop

func (g *GenericTask) Stop(masterAddr string) error

Jump to

Keyboard shortcuts

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