qtypes_qchannel

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: Apache-2.0 Imports: 6 Imported by: 26

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QChan

type QChan struct {
	Data *bcast.Group
	Done *bcast.Group
	Tick *bcast.Group
	Cfg  *config.Config
}

QChan holds the broadcast channels to communicate

func NewCfgQChan

func NewCfgQChan(cfg *config.Config) QChan

NewQChan create an instance of QChan

func NewQChan

func NewQChan() QChan

NewQChan create an instance of QChan

func (*QChan) Broadcast

func (qc *QChan) Broadcast()

func (*QChan) Log

func (qc *QChan) Log(logLevel, msg string)

func (*QChan) SendData

func (qc *QChan) SendData(val interface{})

Jump to

Keyboard shortcuts

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