Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HealthCmd = &cobra.Command{ Use: "health", Short: "Check API health", RunE: func(cmd *cobra.Command, args []string) error { if err := schema.CheckLegacyEnv(cmd.Context()); err != nil { return err } cfg, err := config.Load() if err != nil { return err } timeout := healthTimeout if timeout <= 0 { timeout = defaultHealthTimeout } return runHealthCommand(cmd.Context(), cfg, timeout) }, } )
Functions ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.