Documentation ¶
Index ¶
- func Close(client *redis.Client)
- func Connection(host string, port int, password string, db int) *redis.Client
- func ConnectionToDb(db int) *redis.Client
- func GetDatabases(client *redis.Client) map[uint64]int64
- func InitConfig(host string, port int, password string)
- func InitProgressBar(p *mpb.Progress, barTitle string, total int64) *mpb.Bar
- func StartProgressBar(wg *sync.WaitGroup, width int) *mpb.Progress
- type DBReports
- type KeyReports
- type RedisConfig
- type Report
- type SizeReports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionToDb ¶
func InitConfig ¶
func InitProgressBar ¶
func StartProgressBar ¶
Types ¶
type KeyReports ¶
type RedisConfig ¶
type RedisConfig struct {
// contains filtered or unexported fields
}
type SizeReports ¶
type SizeReports []Report
func (SizeReports) Len ¶
func (sr SizeReports) Len() int
func (SizeReports) Less ¶
func (sr SizeReports) Less(i, j int) bool
func (SizeReports) Swap ¶
func (sr SizeReports) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.