collector

package
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoProcs = sync.Map{}

Functions

func CollectPageJob

func CollectPageJob(id string) cron.Runner

CollectPageJob 计划任务调用方式

func Exit

func Exit(k interface{}) (bool, error)

func Export

func Export(c echo.Context) error

func ExportAdd

func ExportAdd(ctx echo.Context) error

func ExportDelete

func ExportDelete(ctx echo.Context) error

func ExportEdit

func ExportEdit(ctx echo.Context) error

func ExportEditStatus

func ExportEditStatus(ctx echo.Context) error

func ExportLog

func ExportLog(ctx echo.Context) error

func ExportLogDelete

func ExportLogDelete(ctx echo.Context) error

func ExportLogView

func ExportLogView(ctx echo.Context) error

func Go

func Go(k interface{}, r *exec.Rules, f func(), ctx context.Context) (err error)

func Group

func Group(ctx echo.Context) error

func GroupAdd

func GroupAdd(ctx echo.Context) error

func GroupDelete

func GroupDelete(ctx echo.Context) error

func GroupEdit

func GroupEdit(ctx echo.Context) error

func History

func History(c echo.Context) error

func HistoryDelete

func HistoryDelete(c echo.Context) error

func HistoryView

func HistoryView(c echo.Context) error

func RegexpTest

func RegexpTest(c echo.Context) error

func Rule

func Rule(c echo.Context) error

func RuleAdd

func RuleAdd(c echo.Context) error

func RuleCollect

func RuleCollect(c echo.Context) error

func RuleDelete

func RuleDelete(c echo.Context) error

func RuleEdit

func RuleEdit(c echo.Context) error

Types

type GoProcess

type GoProcess struct {
	Rules *exec.Rules
	Done  bool
}

func NewProc

func NewProc(r *exec.Rules) *GoProcess

func (*GoProcess) Close

func (g *GoProcess) Close(k interface{})

func (*GoProcess) IsExited

func (g *GoProcess) IsExited() bool

type RegexpForm

type RegexpForm struct {
	Src    string
	Regexp string
	Type   string
	Error  string
	Result interface{}
}

Jump to

Keyboard shortcuts

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