// Copyright 2019 getensh.com. All rights reserved. // Use of this source code is governed by getensh.com. package parser import ( "property-device/config" "git.getensh.com/common/gopkgs/elastic" ) // 初始化ES func ElasticHandle(conf *config.Configure) { elastic.Setup(conf.Elastic.Addrs, conf.Elastic.Sniff) }