influxdb.go 332 B

1234567891011121314
  1. // Copyright 2019 github.com. All rights reserved.
  2. // Use of this source code is governed by gitbub.com.
  3. package parser
  4. import (
  5. "smart-thirdparty/config"
  6. "github.com/jaryhe/gopkgs/influxdb"
  7. )
  8. func InfluxdbHandler(conf *config.Configure) {
  9. influxdb.Setup(conf.Influxdb.Addr, conf.Influxdb.Username, conf.Influxdb.Password)
  10. }