add es package

This commit is contained in:
Jay
2018-10-05 16:36:16 +08:00
parent 83e786967d
commit ac8284b7e3
264 changed files with 48779 additions and 1 deletions
+4
View File
@@ -43,6 +43,10 @@ type Config struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
} `yaml:"redis"`
Elasticsearch struct{
Host string `yaml:"host"`
Index string `yaml:"index"`
} `yaml:"elasticsearch"`
}
var conf *Config