work

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2021 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

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

func NewDocSearchWork

func NewDocSearchWork() *DocSearch

func (*DocSearch) Restart

func (d *DocSearch) Restart()

Restart 重新启动 work

func (*DocSearch) Start

func (d *DocSearch) Start()

Start 开始 work

func (*DocSearch) Stop

func (d *DocSearch) Stop()

Stop 停止 work

Jump to

Keyboard shortcuts

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