Documentation ¶ Index ¶ func ConsolePretty(ctx context.Context, w io.Writer, events <-chan pubsub.Event) error type Formatter type FormatterFunc func (fn FormatterFunc) Format(ctx context.Context, w io.Writer, s *runstate.Aggregator) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ConsolePretty ¶ func ConsolePretty(ctx context.Context, w io.Writer, events <-chan pubsub.Event) error Types ¶ type Formatter ¶ type Formatter interface { Format(context.Context, io.Writer, *runstate.Aggregator) error } type FormatterFunc ¶ type FormatterFunc func(context.Context, io.Writer, *runstate.Aggregator) error func (FormatterFunc) Format ¶ func (fn FormatterFunc) Format(ctx context.Context, w io.Writer, s *runstate.Aggregator) error Source Files ¶ View all Source files format.go Click to show internal directories. Click to hide internal directories.