collectors

package
v0.0.0-...-f9f8e5e Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Collector = map[string]Creator{}
View Source
var HEAVY = []string{"img", "bn"}

Functions

func Add

func Add(name string, creator Creator)

func All

func All() (mods []internal.Collector)

func List

func List(IDs ...string) (infos []internal.Collector)

Types

type Creator

type Creator func() internal.Collector

func Get

func Get(name string) (Creator, error)

type Plugin

type Plugin struct {
	Num       int
	Code      string
	Title     string
	Summary   string
	DependsOn []string
	Log       *log.Entry
	Conf      internal.Config
}

func (*Plugin) Dependencies

func (p *Plugin) Dependencies() []string

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) Id

func (p *Plugin) Id() string

func (*Plugin) Init

func (p *Plugin) Init(c internal.Config)

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) Order

func (p *Plugin) Order() int

Directories

Path Synopsis
An internationalized domain name (IDN) is a domain name that includes characters outside of the Latin alphabet, such as letters from Arabic, Chinese, Cyrillic, or Devanagari scripts.
An internationalized domain name (IDN) is a domain name that includes characters outside of the Latin alphabet, such as letters from Arabic, Chinese, Cyrillic, or Devanagari scripts.

Jump to

Keyboard shortcuts

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