add es package

This commit is contained in:
root committed 2018-10-05 16:36:16 +08:00
1 parent 83e786967d
commit ac8284b7e3
264 files changed
+48779 -1

No files matched your search

+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