vtask

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Result

func Result(as *app.State, res *task.Result, ps *cutil.PageState) string

func ResultSummary

func ResultSummary(as *app.State, res *task.Result, ps *cutil.PageState) string

func SocketContent

func SocketContent(as *app.State, key string, t *task.Task, u string, ps *cutil.PageState, callbacks ...string) string

func StreamResult

func StreamResult(qw422016 *qt422016.Writer, as *app.State, res *task.Result, ps *cutil.PageState)

func StreamResultSummary

func StreamResultSummary(qw422016 *qt422016.Writer, as *app.State, res *task.Result, ps *cutil.PageState)

func StreamSocketContent

func StreamSocketContent(qw422016 *qt422016.Writer, as *app.State, key string, t *task.Task, u string, ps *cutil.PageState, callbacks ...string)

func WriteResult

func WriteResult(qq422016 qtio422016.Writer, as *app.State, res *task.Result, ps *cutil.PageState)

func WriteResultSummary

func WriteResultSummary(qq422016 qtio422016.Writer, as *app.State, res *task.Result, ps *cutil.PageState)

func WriteSocketContent

func WriteSocketContent(qq422016 qtio422016.Writer, as *app.State, key string, t *task.Task, u string, ps *cutil.PageState, callbacks ...string)

Types

type Detail

type Detail struct {
	layout.Basic
	Task      *task.Task
	Result    *task.Result
	Args      util.ValueMap
	SocketURL string
}

func (*Detail) Body

func (p *Detail) Body(as *app.State, ps *cutil.PageState) string

func (*Detail) StreamBody

func (p *Detail) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*Detail) WriteBody

func (p *Detail) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

type List

type List struct {
	layout.Basic
	Tasks task.Tasks
}

func (*List) Body

func (p *List) Body(as *app.State, ps *cutil.PageState) string

func (*List) StreamBody

func (p *List) StreamBody(qw422016 *qt422016.Writer, as *app.State, ps *cutil.PageState)

func (*List) WriteBody

func (p *List) WriteBody(qq422016 qtio422016.Writer, as *app.State, ps *cutil.PageState)

Jump to

Keyboard shortcuts

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