Help us shape the future of Go! Take the 2026 Go Developer Survey

tracker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: MIT Imports: 11 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, req *http.Request)

Types

type Job

type Job struct {
	*Tracker
	// contains filtered or unexported fields
}

func (*Job) End

func (j *Job) End()

func (*Job) Log

func (j *Job) Log(message string)

func (*Job) LogMessage

func (j *Job) LogMessage(m services.Message)

func (*Job) Queue

func (j *Job) Queue(pos int)

func (*Job) QueueDone

func (j *Job) QueueDone()

type Tracker

type Tracker struct {
	sync.Mutex
	// contains filtered or unexported fields
}
var Default *Tracker

func (*Tracker) Start

func (t *Tracker) Start() *Job

Jump to

Keyboard shortcuts

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