forked from dezh-tech/immortal
-
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.
feat(websocket): add white/black list filter. (dezh-tech#99)
- Loading branch information
1 parent
26875d7
commit 887ea62
Showing
4 changed files
with
87 additions
and
18 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
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,10 @@ | ||
package redis | ||
|
||
type Config struct { | ||
URI string | ||
BloomName string `yaml:"bloom_name"` | ||
ConnectionTimeout int16 `yaml:"connection_timeout_in_ms"` | ||
QueryTimeout int16 `yaml:"query_timeout_in_ms"` | ||
URI string | ||
BloomFilterName string `yaml:"bloom_filter_name"` | ||
BlackListFilterName string `yaml:"black_list_filter_name"` | ||
WhiteListFilterName string `yaml:"white_list_filter_name"` | ||
ConnectionTimeout int16 `yaml:"connection_timeout_in_ms"` | ||
QueryTimeout int16 `yaml:"query_timeout_in_ms"` | ||
} |
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