stats

package
v0.0.0-...-6719cd2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package stats contains a pretty-printer for statistics about the facts stored on DiskViews.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrettyPrint

func PrettyPrint(ctx context.Context, w io.Writer, res *rpc.FactStatsResult, vc lookups.SP, index uint64, withExternalIDs bool) error

PrettyPrint will collect fact stats from the views and write a pretty printed version of them to the supplied writer

func SortStats

func SortStats(stats *rpc.FactStatsResult)

SortStats sorts the frequencies in the given stats in descending order by count.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL