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