work

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// work 未启动或已停止
	RunStatusStop = 0
	// work 运行中
	RunStatusRunning = 1
)

Variables

View Source
var (
	DocSearchWorker = NewDocSearchWork()
)

Functions

This section is empty.

Types

type DocSearch added in v0.2.0

type DocSearch struct {
	// contains filtered or unexported fields
}

func NewDocSearchWork added in v0.2.0

func NewDocSearchWork() *DocSearch

func (*DocSearch) Restart added in v0.2.0

func (d *DocSearch) Restart()

Restart 重新启动 work

func (*DocSearch) Start added in v0.2.0

func (d *DocSearch) Start()

Start 开始 work

func (*DocSearch) Stop added in v0.2.0

func (d *DocSearch) Stop()

Stop 停止 work

Jump to

Keyboard shortcuts

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