Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogPrefix = "FIRE" LogInit = "INIT" LogCheckpoint = "CHECKPOINT" LogBlockStart = "BLOCK_START" LogTrx = "TRX" LogObjChange = "OBJ_CHANGE" LogEvent = "EVT" LogDisplayUpdate = "DSP_UPDATE" LogBlockEnd = "BLOCK_END" )
Variables ¶
This section is empty.
Functions ¶
func NewConsoleReader ¶
func NewConsoleReader( lines chan string, blockEncoder firecore.BlockEncoder, logger *zap.Logger, tracer logging.Tracer, ) (mindreader.ConsolerReader, error)
Types ¶
type ConsoleReader ¶
type ConsoleReader struct {
// contains filtered or unexported fields
}
ConsoleReader is what reads the `geth` output directly. It builds up some LogEntry objects. See `LogReader to read those entries .
func (*ConsoleReader) Close ¶
func (r *ConsoleReader) Close()
func (*ConsoleReader) Done ¶
func (r *ConsoleReader) Done() <-chan interface{}
Click to show internal directories.
Click to hide internal directories.