plugins

package
v0.0.0-...-7edff62 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExamplePlugin1

type ExamplePlugin1 struct {
	Hello string `mapstructure:"hello"`
	// contains filtered or unexported fields
}

func (*ExamplePlugin1) Process

func (x *ExamplePlugin1) Process(e transistor.Event) error

func (*ExamplePlugin1) Start

func (x *ExamplePlugin1) Start(e chan transistor.Event) error

func (*ExamplePlugin1) Stop

func (x *ExamplePlugin1) Stop()

func (*ExamplePlugin1) Subscribe

func (x *ExamplePlugin1) Subscribe() []string

type ExamplePlugin2

type ExamplePlugin2 struct {
	Hello string `mapstructure:"hello"`
	// contains filtered or unexported fields
}

func (*ExamplePlugin2) Process

func (x *ExamplePlugin2) Process(e transistor.Event) error

func (*ExamplePlugin2) Start

func (x *ExamplePlugin2) Start(e chan transistor.Event) error

func (*ExamplePlugin2) Stop

func (x *ExamplePlugin2) Stop()

func (*ExamplePlugin2) Subscribe

func (x *ExamplePlugin2) Subscribe() []string

type Hello

type Hello struct {
	Action  string
	Message string
}

Jump to

Keyboard shortcuts

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