PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)

Этот коммит содержится в:
George Goldberg
2017-06-29 22:40:14 +01:00
коммит произвёл Joram Wilander
родитель a4f363a50b
Коммит f2898927f1
7 изменённых файлов: 106 добавлений и 0 удалений

Просмотреть файл

@@ -10,6 +10,7 @@ type ElasticSearchInterface interface {
IndexPost(post *model.Post, teamId string)
SearchPosts(channels *model.ChannelList, searchParams []*model.SearchParams) ([]string, *model.AppError)
DeletePost(postId string)
TestConfig() *model.AppError
}
var theElasticSearchInterface ElasticSearchInterface