an

package
v0.0.0-...-c447edc Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type An

type An struct {
	// contains filtered or unexported fields
}
var Instance *An

func NewAn

func NewAn() *An

func (*An) AddTask

func (c *An) AddTask(task *common.Task)

func (*An) GetResult

func (c *An) GetResult(code string) *common.Result

func (*An) GetState

func (c *An) GetState() *AnState

func (*An) GetTask

func (c *An) GetTask(code string) *common.Task

func (*An) GetTaskGroups

func (c *An) GetTaskGroups() []*TaskGroup

func (*An) GetTasks

func (c *An) GetTasks() []common.Task

func (*An) Start

func (c *An) Start()

func (*An) ThAn

func (c *An) ThAn()

type AnState

type AnState struct {
	Tasks []*common.TaskState
	Cache *cache.CacheState
}

type TaskGroup

type TaskGroup struct {
	Code  string
	Name  string
	Tasks []string
}

Jump to

Keyboard shortcuts

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