Documentation ¶
Index ¶
- func CancelOnSignal(ctx context.Context, signals ...os.Signal) (context.Context, context.CancelFunc)
- func NewNopWriterCloser(w io.Writer) (io.WriteCloser, error)
- type App
- func (a *App) Append(s string) (io.WriteCloser, error)
- func (a *App) Execute(cfg Config)
- func (a *App) GetInput(s string) (io.ReadCloser, error)
- func (a *App) GetOutput(s string) (io.WriteCloser, error)
- func (a *App) LogMemory()
- func (a *App) Logger(prefix string) LogLogger
- func (a *App) ReadYAML(path string, data interface{}) error
- func (a *App) SetPrefix(s string)
- type Config
- type LogLogger
- type MasterRunner
- type NopWriterCloser
- type PostRunner
- type PreRunner
- type RootRunner
- type Runner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelOnSignal ¶
func NewNopWriterCloser ¶
func NewNopWriterCloser(w io.Writer) (io.WriteCloser, error)
Types ¶
type App ¶
type MasterRunner ¶
type NopWriterCloser ¶
func (NopWriterCloser) Close ¶
func (NopWriterCloser) Close() error
type PostRunner ¶
type RootRunner ¶
Click to show internal directories.
Click to hide internal directories.