Documentation ¶
Index ¶
- func HumanSize(byte uint64) (float64, string)
- type Analysis
- func (analysis *Analysis) Close()
- func (analysis *Analysis) CloseRDB()
- func (analysis *Analysis) Open(host string, port uint16, password string) error
- func (analysis *Analysis) OpenRDB(rdb string) error
- func (analysis Analysis) SaveReports(folder string) error
- func (analysis Analysis) Start(delimiters []string)
- func (analysis Analysis) StartRDB(delimiters []string)
- type DBReports
- type KeyReports
- type Report
- type SortByCountReports
- type SortBySizeReports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Analysis ¶
type Analysis struct { Reports DBReports // contains filtered or unexported fields }
func NewAnalysis ¶
func NewAnalysis() *Analysis
func (Analysis) SaveReports ¶
type KeyReports ¶ added in v1.1.5
type SortByCountReports ¶
type SortByCountReports []Report
func (SortByCountReports) Len ¶
func (sr SortByCountReports) Len() int
func (SortByCountReports) Less ¶
func (sr SortByCountReports) Less(i, j int) bool
func (SortByCountReports) Swap ¶
func (sr SortByCountReports) Swap(i, j int)
type SortBySizeReports ¶
type SortBySizeReports []Report
func (SortBySizeReports) Len ¶
func (sr SortBySizeReports) Len() int
func (SortBySizeReports) Less ¶
func (sr SortBySizeReports) Less(i, j int) bool
func (SortBySizeReports) Swap ¶
func (sr SortBySizeReports) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.