蛋蛋星球 后台端
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

13 lines
227 B

  1. package cfg
  2. import (
  3. "code.fnuoos.com/go_rely_warehouse/zyos_go_es.git/es"
  4. "encoding/json"
  5. )
  6. func InitEs() {
  7. data, _ := json.Marshal(ES)
  8. filePutContents("init_rabbit_es", string(data))
  9. es.Init(ES.Url, ES.User, ES.Pwd)
  10. }