Documentation
¶
Index ¶
- Variables
- func Execute()
- func NewHTTPCommand() *cobra.Command
- func NewMysqlCommand() *cobra.Command
- func NewPostgresqlCommand() *cobra.Command
- func NewRedisCommand() *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewTCPCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Interval represents time between each loop Interval time.Duration // Timeout represents the maximum amount of time that Wait4X will wait for a checking operation Timeout time.Duration // LogLevel represents logging level e.g. info, warn, error, debug LogLevel string // Logger is the global logger. Logger log.Logger )
View Source
var ( // AppVersion represents Wait4X version AppVersion = "unknown-app-version" // GitCommit represents Wait4X commit hash GitCommit = "unknown-git-commit" // BuildTime represents Wait4X build time BuildTime = "unknown-build-time" )
Functions ¶
func NewHTTPCommand ¶
NewHTTPCommand creates the http sub-command
func NewMysqlCommand ¶
NewMysqlCommand creates the mysql sub-command
func NewPostgresqlCommand ¶
NewPostgresqlCommand creates the postgresql sub-command
func NewRedisCommand ¶
NewRedisCommand creates the redis sub-command
func NewVersionCommand ¶
NewVersionCommand creates the version sub-command
Types ¶
Click to show internal directories.
Click to hide internal directories.