outputs

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Outputs = map[string]Creator{}

Functions

func Add

func Add(name string, creator Creator)

func All

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

func Get

func Get(name string) (internal.Output, error)

func List

func List(IDs ...string) (outputs []internal.Output)

Types

type Creator

type Creator func() internal.Output

type Plugin

type Plugin struct {
	Summary string
	ID      string
	Config  internal.Config
	Domains []*db.Domain
	Elapsed time.Duration
	Started time.Time
	Offline int64
	Online  int64
	Total   int64
}

func (*Plugin) Description

func (p *Plugin) Description() string

func (*Plugin) Id

func (p *Plugin) Id() string

func (*Plugin) Init

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

func (*Plugin) Report

func (p *Plugin) Report()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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