-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹 chore: make search url configurable
- Loading branch information
1 parent
13b4e60
commit ec38a55
Showing
6 changed files
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
package constants | ||
|
||
const ( | ||
SEARCH_URL = "http://127.0.0.1:9200" | ||
CLUBS_INDEX = "clubs" | ||
EVENTS_INDEX = "events" | ||
SEARCH_QUERY_DEFAULT_MAX_MEMBERS = 16384 | ||
CLUBS_INDEX string = "clubs" | ||
EVENTS_INDEX string = "events" | ||
SEARCH_QUERY_DEFAULT_MAX_MEMBERS int = 16384 | ||
) | ||
|
||
var SEARCH_URI string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters