数据采集
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

init_es.go 246 B

10 months ago
12345678910111213
  1. package cfg
  2. import (
  3. "applet/app/utils"
  4. "code.fnuoos.com/go_rely_warehouse/zyos_go_es.git/es"
  5. "encoding/json"
  6. )
  7. func InitEs() {
  8. data, _ := json.Marshal(ES)
  9. utils.FilePutContents("init_es", string(data))
  10. es.Init(ES.Url, ES.User, ES.Pwd)
  11. }