Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "bb", Short: "Building Blocks or `bb` is a tool that can simulate many of the typical scenarios of a cloud-native Service-Oriented Architecture based on microservices.", PersistentPreRun: func(cmd *cobra.Command, args []string) { level, err := log.ParseLevel(logLevel) if err != nil { log.Fatalf("invalid log-level: %s", logLevel) } log.SetLevel(level) if config.ID == "" { config.ID = fmt.Sprintf("%s-grpc:%d-h1:%d", cmd.Name(), config.GRPCServerPort, config.H1ServerPort) } }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.