Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FetchResult ¶
type FetchResult struct {
Timestamp time.Time
Temperature *FetchResultRow
Humidity *FetchResultRow
}
type FetchResultRow ¶
type Fetcher ¶
type Fetcher struct {
*FetcherConfig
// contains filtered or unexported fields
}
func NewFetcher ¶
func NewFetcher(cfg *FetcherConfig) *Fetcher
type FetcherConfig ¶
type MackerelExporter ¶
type MackerelExporter struct {
*MackerelExporterConfig
// contains filtered or unexported fields
}
func NewMackerelExporter ¶
func NewMackerelExporter(cfg *MackerelExporterConfig) *MackerelExporter
func (*MackerelExporter) Export ¶
func (e *MackerelExporter) Export(ctx context.Context, result *FetchResult) error
type MackerelExporterConfig ¶
type Runner ¶
type Runner struct {
*RunnerConfig
}
func NewRunner ¶
func NewRunner(cfg *RunnerConfig) *Runner
type RunnerConfig ¶
Click to show internal directories.
Click to hide internal directories.