Open pg9182 opened 1 year ago
If someone wants to work on this:
pkg/badwords
which contains badwords.go
with a type List struct
and at least the functions func ReadList(r io.Reader) (*List, error)
, func (l *List) AddWord(word string)
(but don't need this if you're doing an optimized implementation which needs stuff to be precomputed) and func (l *List) Filter(s string) string
.badwords_test.go
.pkg/atlas
, BadWordList string `env:"ATLAS_BADWORDS_LIST"`
.BadWords
field of api0.Handler
when creating a new *Server
.
Required for feature parity with the old server, also supersedes R2Northstar/NorthstarMasterServer#66.