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