package junk
import "github.com/zeebo/rothko/internal/junk"
package junk is a drop spot for things with no home.
Usage
func Launch
func Launch(ctx context.Context, tasks ...func(context.Context) error) error
func WithSignal
func WithSignal(ctx context.Context, sigs ...os.Signal) (
context.Context, func())
type Flag
type Flag struct {
}
func (*Flag) Start
func (f *Flag) Start() error
func (*Flag) Stop
func (f *Flag) Stop()
type Launcher
type Launcher struct {
}
func (*Launcher) Queue
func (l *Launcher) Queue(fn func(ctx context.Context) error)
func (*Launcher) Run
func (l *Launcher) Run(ctx context.Context) error
type Tabbed
type Tabbed struct {
}
func NewTabbed
func NewTabbed(w io.Writer) *Tabbed
func (*Tabbed) Error
func (t *Tabbed) Error() error
func (*Tabbed) Flush
func (t *Tabbed) Flush()
func (*Tabbed) Write
func (t *Tabbed) Write(values ...string)