Documentation ¶
Index ¶
- func AdjustBridgeDBValue(cmd *cobra.Command, v *viper.Viper)
- func BridgeCommands(v *viper.Viper, loggerInstance tendermintLogger.Logger, caller string) *cobra.Command
- func DecorateWithBridgeRootFlags(cmd *cobra.Command, v *viper.Viper, loggerInstance tendermintLogger.Logger, ...)
- func GetStartCmd() *cobra.Command
- func StartBridge(isStandAlone bool)
- func StartBridgeWithCtx(shutdownCtx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustBridgeDBValue ¶ added in v0.3.2
function is called to set appropriate bridge db path
func BridgeCommands ¶ added in v0.3.2
func BridgeCommands(v *viper.Viper, loggerInstance tendermintLogger.Logger, caller string) *cobra.Command
BridgeCommands returns command for bridge service
func DecorateWithBridgeRootFlags ¶ added in v0.3.2
func DecorateWithBridgeRootFlags(cmd *cobra.Command, v *viper.Viper, loggerInstance tendermintLogger.Logger, caller string)
DecorateWithBridgeRootFlags is called when bridge flags needs to be added to command
func GetStartCmd ¶
GetStartCmd returns the start command to start bridge
func StartBridge ¶ added in v0.3.2
func StartBridge(isStandAlone bool)
StartBridge starts bridge service, isStandAlone prevents os.Exit if the bridge started as side service
func StartBridgeWithCtx ¶ added in v0.3.2
StartBridgeWithCtx starts bridge service and is able to shutdow gracefully returns service errors, if any
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.