master

package
v0.0.0-...-92ccf45 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExampleMaster

func NewExampleMaster() interfaces.Master

NewExampleMaster returns a new ExampleMaster

Types

type ExampleMaster

type ExampleMaster struct {
	// contains filtered or unexported fields
}

ExampleMaster represents the Master including all data/error handlers and logic

func (*ExampleMaster) GetDataHandler

func (m *ExampleMaster) GetDataHandler() types.MessageHandler

GetDataHandler returns the data handler

func (*ExampleMaster) GetErrorHandler

func (m *ExampleMaster) GetErrorHandler() types.ErrorHandler

GetErrorHandler returns the error handler

func (*ExampleMaster) Run

func (m *ExampleMaster) Run()

Run runs the Master infinitely

func (*ExampleMaster) SetDataHandler

func (m *ExampleMaster) SetDataHandler(h types.MessageHandler)

SetDataHandler sets the data handler

func (*ExampleMaster) SetErrorHandler

func (m *ExampleMaster) SetErrorHandler(h types.ErrorHandler)

SetErrorHandler sets the error handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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