engine

package
v0.0.0-...-78d0e39 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Account   *appAccount.AppAccount
	Apps      []Fetcher
	Collector *collector.Collector
	// contains filtered or unexported fields
}

func NewEngine

func NewEngine(conf *common.GlobalCon, acc *appAccount.AppAccount) *Engine

func (*Engine) Init

func (e *Engine) Init()

func (*Engine) Run

func (e *Engine) Run()

func (*Engine) Stop

func (e *Engine) Stop()

type Fetcher

type Fetcher interface {
	Fetch(collector *collector.Collector)
	Identity() string
}

Jump to

Keyboard shortcuts

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