Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootCmd = &cobra.Command{ Use: "frontier", Short: "client-facing api server for the DigitalBits network", SilenceErrors: true, SilenceUsage: true, Long: "Client-facing API server for the DigitalBits network. It acts as the interface between DigitalBits Core and applications that want to access the DigitalBits network. It allows you to submit transactions to the network, check the status of accounts, subscribe to event streams and more.", RunE: func(cmd *cobra.Command, args []string) error { app, err := frontier.NewAppFromFlags(config, flags) if err != nil { return err } return app.Serve() }, } )
Functions ¶
Types ¶
type ErrExitCode ¶
type ErrExitCode int
Indicates we want to exit with a specific error code without printing an error.
func (ErrExitCode) Error ¶
func (e ErrExitCode) Error() string
Click to show internal directories.
Click to hide internal directories.