commands

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultConfigBasename = "config"
	DefaultConfigType     = "toml"
)

Variables

View Source
var DefaultConfigFilename = fmt.Sprintf("%s.%s",
	DefaultConfigBasename,
	DefaultConfigType)
View Source
var ErisDbCmd = &cobra.Command{
	Use:   "eris-db",
	Short: "Eris-DB is the server side of the eris chain.",
	Long: `Eris-DB is the server side of the eris chain.  Eris-DB combines
a modular consensus engine and application manager to run a chain to suit
your needs.

Made with <3 by Monax Industries.

Complete documentation is available at https://monax.io/docs
` + "\nVERSION:\n " + version.VERSION,
	Run: func(cmd *cobra.Command, args []string) { cmd.Help() },
}

Functions

func AddCommands

func AddCommands(do *definitions.Do)

func AddGlobalFlags

func AddGlobalFlags(do *definitions.Do)

func Execute

func Execute()

func NewCoreFromDo added in v0.16.0

func NewCoreFromDo(do *definitions.Do) (*core.Core, error)

------------------------------------------------------------------------------ functions

func ServeRunner added in v0.16.0

func ServeRunner(do *definitions.Do) func(*cobra.Command, []string)

ServeRunner() returns a command runner that prepares the environment and sets up the core for Eris-DB to run. After the setup succeeds, it starts the core and waits for the core to terminate.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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