Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultProgressBar ¶
type DefaultProgressBar struct {
// contains filtered or unexported fields
}
func NewDefaultProgressBar ¶
func NewDefaultProgressBar(max int, description string) *DefaultProgressBar
func (*DefaultProgressBar) Add ¶
func (p *DefaultProgressBar) Add(i int)
func (*DefaultProgressBar) Clear ¶
func (p *DefaultProgressBar) Clear()
type JSONRenderer ¶
type JSONRenderer struct{}
func (JSONRenderer) Render ¶
func (r JSONRenderer) Render(result *model.BenchmarkResult) (string, error)
type NoOpProgressBar ¶
type NoOpProgressBar struct { }
func NewNoProgressBar ¶
func NewNoProgressBar() *NoOpProgressBar
func (*NoOpProgressBar) Add ¶
func (p *NoOpProgressBar) Add(_ int)
func (*NoOpProgressBar) Clear ¶
func (p *NoOpProgressBar) Clear()
type ProgressBar ¶
type ProgressBar interface { Add(int) Clear() }
type TableRenderer ¶
type TableRenderer struct{}
func (TableRenderer) Render ¶
func (r TableRenderer) Render(result *model.BenchmarkResult) (string, error)
Click to show internal directories.
Click to hide internal directories.