Documentation
¶
Overview ¶
Package handler contains experiment events handler
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrinterCallbacks ¶
PrinterCallbacks is the default event handler
func NewPrinterCallbacks ¶
func NewPrinterCallbacks(logger model.Logger) PrinterCallbacks
NewPrinterCallbacks returns a new default callback handler
func (PrinterCallbacks) OnDataUsage ¶
func (d PrinterCallbacks) OnDataUsage(dloadKiB, uploadKiB float64)
OnDataUsage provides information about data usage.
func (PrinterCallbacks) OnProgress ¶
func (d PrinterCallbacks) OnProgress(percentage float64, message string)
OnProgress provides information about an experiment progress.
Click to show internal directories.
Click to hide internal directories.