telegraf/plugins/inputs/synproxy/synproxy_notlinux.go

24 lines
393 B
Go

// +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")
return nil
}
func (k *Synproxy) Gather(acc telegraf.Accumulator) error {
return nil
}
func init() {
inputs.Add("synproxy", func() telegraf.Input {
return &Synproxy{}
})
}