蛋蛋星球-客户端
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.
 
 
 
 
 

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. }