Versions in this module Expand all Collapse all v1 v1.0.1 Jan 29, 2024 v1.0.0 Jan 22, 2024 Changes in this version + type CheckInterface interface + Cleanup func() + GetError func() error + GetImp func() Implementation + GetLastCheck func() time.Time + GetStatus func() CheckStatus + HealthCheck func() error + func NewHttpCheck(host string, port int, timeout time.Duration) (CheckInterface, error) + func NewPostgresCheck(host string, port int, dbName, user, pass, sslMode string) (CheckInterface, error) + func NewPubsubCheck(projectID string) (CheckInterface, error) + func NewRabbitmqCheck(host string, port int, user, pass string) (CheckInterface, error) + type CheckStatus string + const CHECKING + const DONE + const STARTUP + type Implementation string + const HTTP + const POSTGRES + const PUBSUB + const RABBITMQ