vtask

package
v1.5.32 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2024 License: MIT Imports: 12 Imported by: 0

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