gui

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Consumer

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

Consumer is a GUI consumer

func New

func New() Consumer

New creates a new GUI consumer

func (Consumer) ErrorChannel

func (c Consumer) ErrorChannel() <-chan error

ErrorChannel is the channel that returns errors when sending a message

func (Consumer) ExitChannel

func (c Consumer) ExitChannel() chan interface{}

ExitChannel is the channel we need to close in order to shutdown GUI

func (Consumer) MessageChannel

func (c Consumer) MessageChannel() chan<- consumers.ResultWithHostname

MessageChannel is the channel to be use to push messages to display terminal

Jump to

Keyboard shortcuts

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