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 { cfg := config.Load() timeout := healthTimeout if timeout <= 0 { timeout = defaultHealthTimeout } if err := runHealthCommandInternal(cmd.Context(), cfg, timeout); err != nil { return err } return nil }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.