contract

package
v1.2.2-dev.61 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusCodeExitNormal       = 0 // StatusCodeExitNormal exit code
	StatusCodeNoOptionSelected = 1 // StatusCodeNoOptionSelected exit code
	StatusCodeExitWithError    = 2 // StatusCodeExitWithError is exit code for error
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command interface {
	Execute() (statusCode int, err error)
}

type DirectoryHandler

type DirectoryHandler interface {
	Create(path string) error
	Verify(path string) error
}

type FlagSet

type FlagSet interface {
	Get() *flag.FlagSet
}

Jump to

Keyboard shortcuts

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