Documentation
¶
Index ¶
- func AdjustBridgeDBValue(cmd *cobra.Command)
- func BridgeCommands(v *viper.Viper, loggerInstance log.Logger, caller string) *cobra.Command
- func DecorateWithBridgeRootFlags(cmd *cobra.Command, v *viper.Viper, loggerInstance log.Logger, caller string)
- func GetStartCmd() *cobra.Command
- func StartBridge(isStandAlone bool)
- func StartBridgeWithCtx(shutdownCtx context.Context, clientCtx client.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdjustBridgeDBValue ¶
AdjustBridgeDBValue function is called to set appropriate bridge db path
func BridgeCommands ¶
BridgeCommands returns command for bridge service
func DecorateWithBridgeRootFlags ¶
func DecorateWithBridgeRootFlags(cmd *cobra.Command, v *viper.Viper, loggerInstance log.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 ¶
func StartBridge(isStandAlone bool)
StartBridge starts bridge service, isStandAlone prevents os.Exit if the bridge started as side service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.