spinc

package
v0.8.3-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package spinc provides a framework for integration with other programs.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrHelp = errors.New("print help")
)

Functions

func Run

func Run(ctx app.Context) error

Run runs spinc and exits when done. When using a standard spinc bin, Run is called by spinc/bin/main.go. When spinc is wrapped by custom code, that code imports this pkg then call spinc.Run() with its custom factories. If a factory is not set (nil), then the default/standard factory is used.

Types

This section is empty.

Directories

Path Synopsis
Package app provides app-wide data structs and functions.
Package app provides app-wide data structs and functions.
Package cmd provides all the commands that spinc can run: start, status, etc.
Package cmd provides all the commands that spinc can run: start, status, etc.
Package config handles config files, -config, and env vars at startup.
Package config handles config files, -config, and env vars at startup.
Prompt provides user input handling.
Prompt provides user input handling.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL