Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorTable ¶
type ErrorTable struct { Stopped bool // contains filtered or unexported fields }
ErrorTable implemements an Optimus Table It's purpose is to return a given error
func New ¶
func New(err error) *ErrorTable
New returns a new Table that returns a given error. Primarily used for testing purposes.
func (*ErrorTable) Rows ¶
func (e *ErrorTable) Rows() <-chan optimus.Row
Rows returns the chan for an ErrorTable's Rows note this should only return an error
func (*ErrorTable) Stop ¶
func (e *ErrorTable) Stop()
Stop fulfills the requirement for ErrorTable to implement the Stop function of an Optimus Table
Click to show internal directories.
Click to hide internal directories.