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 NewCoreFromDo ¶
func NewCoreFromDo(do *definitions.Do) (*core.Core, error)
------------------------------------------------------------------------------ functions
func ServeRunner ¶
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.
Click to show internal directories.
Click to hide internal directories.