deaagent

package
v0.0.0-...-d41793b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2015 License: Apache-2.0, BSD-3-Clause, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	InstancesJsonFilePath string

	sync.WaitGroup
	// contains filtered or unexported fields
}

func NewAgent

func NewAgent(instancesJsonFilePath string, logger *gosteno.Logger) *Agent

func (*Agent) Start

func (agent *Agent) Start()

func (*Agent) Stop

func (agent *Agent) Stop()

type TaskListener

type TaskListener struct {
	*gosteno.Logger

	sync.WaitGroup
	// contains filtered or unexported fields
}

func NewTaskListener

func NewTaskListener(task domain.Task, logger *gosteno.Logger) (*TaskListener, error)

func (*TaskListener) StartListening

func (tl *TaskListener) StartListening()

func (*TaskListener) StopListening

func (tl *TaskListener) StopListening()

func (*TaskListener) Task

func (tl *TaskListener) Task() domain.Task

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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