Documentation ¶
Index ¶
- Constants
- func CheckKafka(kafkaStu *Kafka) (sarama.Client, error)
- func CheckMinio(minioStu *Minio) error
- func CheckMongo(mongoStu *Mongo) error
- func CheckRedis(redisStu *Redis) error
- func CheckZookeeper(zkStu *Zookeeper) error
- func ErrStr(err error, str string) error
- func ErrorPrint(s string)
- func SuccessPrint(s string)
- func WarningPrint(s string)
- type Kafka
- type Minio
- type Mongo
- type MySQL
- type Redis
- type Zookeeper
Constants ¶
View Source
const (
MaxRetry = 300
)
Variables ¶
This section is empty.
Functions ¶
func CheckKafka ¶
CheckKafka checks the Kafka connection
func CheckMongo ¶
CheckMongo checks the MongoDB connection without retries
func CheckZookeeper ¶
func ErrorPrint ¶
func ErrorPrint(s string)
func SuccessPrint ¶
func SuccessPrint(s string)
func WarningPrint ¶
func WarningPrint(s string)
Types ¶
Click to show internal directories.
Click to hide internal directories.