cmd

package
v0.0.0-...-4511e25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OrderGatlingCmd = &cobra.Command{
	Use:          "order-gatling",
	SilenceUsage: true,
	Version:      Version,
	PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
		if err := initiator.ValidateOptions(cmd, args); err != nil {
			return err
		}

		if err := validate(); err != nil {
			return err
		}

		if err := InitHTTP(); err != nil {
			return err
		}

		return InitLogger()
	},
	RunE: execute,
}

OrderGatlingCmd represents the base command when called without any subcommands.

View Source
var Version = "dev"

Functions

func InitHTTP

func InitHTTP() error

func InitLogger

func InitLogger() error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL