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