telegraf/plugins/inputs/synproxy/synproxy_notlinux.go

24 lines
393 B
Go
Raw Normal View History

2019-11-21 19:26:59 +00:00
// +build !linux
package synproxy
import (
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
)
func (k *Synproxy) Init() error {
k.Log.Warn("Current platform is not supported")
2019-11-21 19:26:59 +00:00
return nil
}
func (k *Synproxy) Gather(acc telegraf.Accumulator) error {
return nil
2019-11-21 19:26:59 +00:00
}
func init() {
inputs.Add("synproxy", func() telegraf.Input {
return &Synproxy{}
})
}