Documentation
¶
Index ¶
- func IsTTY() bool
- type Bus
- func (b *Bus) Banner(v string)
- func (b *Bus) Close()
- func (b *Bus) Flush()
- func (b *Bus) Header(v string)
- func (b *Bus) Info(v string)
- func (b *Bus) KV(k, v string)
- func (b *Bus) Line()
- func (b *Bus) Progress(label, v string)
- func (b *Bus) Result(v string)
- func (b *Bus) Send(ev Event)
- func (b *Bus) Warn(v string)
- type Event
- type EventKind
- type PlainRenderer
- type Renderer
- type TTYRenderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PlainRenderer ¶
type PlainRenderer struct {
// contains filtered or unexported fields
}
func NewPlainRenderer ¶
func NewPlainRenderer(w io.Writer) *PlainRenderer
func (*PlainRenderer) Render ¶
func (p *PlainRenderer) Render(ev Event)
type TTYRenderer ¶
type TTYRenderer struct {
// contains filtered or unexported fields
}
func NewTTYRenderer ¶
func NewTTYRenderer(w io.Writer, noColor bool) *TTYRenderer
func (*TTYRenderer) Render ¶
func (t *TTYRenderer) Render(ev Event)
Click to show internal directories.
Click to hide internal directories.