collector

package module
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: AGPL-3.0 Imports: 5 Imported by: 2

README

collector

Documentation

Index

Constants

View Source
const ID = `collector`

Variables

View Source
var LeftNavigate = handler.LeftNavigate
View Source
var Module = module.Module{
	TemplatePath: map[string]string{
		ID: `collector/template/backend`,
	},
	AssetsPath: []string{
		`collector/public/assets`,
	},
	SQLCollection: setup.RegisterSQL,
	Navigate:      RegisterNavigate,
	Route:         handler.RegisterRoute,
	CronJobs: []*cron.Jobx{
		{
			Name:         `collect_page`,
			RunnerGetter: handler.CollectPageJob,
			Example:      `>collect_page:1`,
			Description:  `网页采集`,
		},
	},
	DBSchemaVer: 0.2000,
}

Functions

func RegisterNavigate

func RegisterNavigate(nc *navigate.Collection)

Types

This section is empty.

Jump to

Keyboard shortcuts

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