Discover Packages
github.com/OpenIMSDK/tools
component
package
Version:
v0.0.46-alpha.4
Opens a new window with list of versions in this module.
Published: Mar 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
CheckKafka checks the Kafka connection
CheckMinio checks the MinIO connection
CheckMongo checks the MongoDB connection without retries
CheckRedis checks the Redis connection
type Kafka struct {
Username string `json:"username"`
Password string `json:"password"`
Addr []string `json:"addr"`
}
type Minio struct {
ApiURL string `json:"apiURL"`
Endpoint string `json:"endpoint"`
AccessKeyID string `json:"accessKeyID"`
SecretAccessKey string `json:"secretAccessKey"`
SignEndpoint string `json:"signEndpoint"`
UseSSL string `json:"useSSL"`
}
type Mongo struct {
URL string `json:"url"`
Address []string `json:"address"`
Database string `json:"database"`
Username string `json:"username"`
Password string `json:"password"`
MaxPoolSize int `json:"maxPoolSize"`
}
type MySQL struct {
Address []string `json:"address"`
Username string `json:"username"`
Password string `json:"password"`
Database string `json:"database"`
}
type Redis struct {
Address []string `json:"address"`
Username string `json:"username"`
Password string `json:"password"`
}
type Zookeeper struct {
Schema string `json:"schema"`
ZkAddr []string `json:"zkAddr"`
Username string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.