pkg

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigFile = "crzy.yaml"
)

Variables

View Source
var (
	ErrVersionRequested   = errors.New("version")
	ErrWronglyInitialized = errors.New("wronginit")
)

Functions

This section is empty.

Types

type Args added in v0.4.3

type Args struct {
	ConfigFile string
	Repository string
	Head       string
	NoColor    bool
	Version    bool
	Lang       string
}

type DefaultRunner added in v0.4.0

type DefaultRunner struct {
	// contains filtered or unexported fields
}

DefaultRunner holds Crzy configuration. Options are embedded, instances should be created with the NewCrzy function.

func NewCrzy added in v0.4.0

func NewCrzy(args Args) (*DefaultRunner, error)

NewCrzy creates the DefaultRunner with the various configuration options.

func (*DefaultRunner) Run added in v0.4.0

func (c *DefaultRunner) Run(ctx context.Context) error

Run starts the DefaultRunner and runs Crzy

type HTTPListener

type HTTPListener struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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