19 lines
361 B
Go
19 lines
361 B
Go
package wireless
|
|
|
|
import (
|
|
"github.com/influxdata/telegraf"
|
|
"github.com/influxdata/telegraf/plugins/inputs"
|
|
)
|
|
|
|
// Wireless is used to store configuration values.
|
|
type Wireless struct {
|
|
HostProc string `toml:"host_proc"`
|
|
Log telegraf.Logger `toml:"-"`
|
|
}
|
|
|
|
func init() {
|
|
inputs.Add("wireless", func() telegraf.Input {
|
|
return &Wireless{}
|
|
})
|
|
}
|