Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Worker ¶
type Worker interface { Setup(*iter.Interval) error Run() (*report.Result, error) Stop() error Cleanup() error Status() map[string]string SetConfig(pc.QAN) }
A Worker gets queries, aggregates them, and returns a Result. Workers are ran by Analyzers. When ran, MySQL is presumed to be configured and ready.
Click to show internal directories.
Click to hide internal directories.