plugins

package
v0.0.0-...-67991ef Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hello

type Hello struct {
	interfaces.Service
	Name string
}

func NewHello

func NewHello(name string) *Hello

func (*Hello) Close

func (r *Hello) Close() error

func (*Hello) Init

func (r *Hello) Init(service interfaces.Service) error

func (*Hello) Process

func (h *Hello) Process(descriptor interface{}) (interface{}, error)

type RSS

type RSS struct {
	interfaces.Service
}

func NewRSS

func NewRSS() *RSS

func (*RSS) Close

func (r *RSS) Close() error

func (*RSS) Init

func (r *RSS) Init(service interfaces.Service) error

func (*RSS) Process

func (r *RSS) Process(data interface{}) (interface{}, error)

type RSSSource

type RSSSource struct {
	ID      string   `json:"id"`
	Name    string   `json:"name"`
	Folder  string   `json:"folder, omitempty"`
	Urls    []string `json:"urls, omitempty"`
	Timeout int      `json:"timeout"`
}

type Source

type Source struct {
}

type Twitter

type Twitter struct {
	interfaces.Service
}

func (*Twitter) Close

func (t *Twitter) Close() error

func (*Twitter) Init

func (t *Twitter) Init(service interfaces.Service) error

func (*Twitter) Process

func (t *Twitter) Process(source interface{}) (interface{}, error)

type TwitterSource

type TwitterSource struct {
}

Jump to

Keyboard shortcuts

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