@@ -84,7 +84,7 @@ const (
8484 DefaultServerURL = "webrisk.googleapis.com"
8585
8686 // DefaultUpdatePeriod is the default period for how often WebriskClient will
87- // reload its blacklist database.
87+ // reload its blocklist database.
8888 DefaultUpdatePeriod = 30 * time .Minute
8989
9090 // DefaultID and DefaultVersion are the default client ID and Version
@@ -155,7 +155,7 @@ type Config struct {
155155
156156 // DBPath is a path to a persistent database file.
157157 // If empty, WebriskClient operates in a non-persistent manner.
158- // This means that blacklist results will not be cached beyond the lifetime
158+ // This means that blocklist results will not be cached beyond the lifetime
159159 // of the WebriskClient object.
160160 DBPath string
161161
@@ -342,7 +342,7 @@ func (wr *WebriskClient) WaitUntilReady(ctx context.Context) error {
342342// The outer dimension is across all URLs requested, and will always have the
343343// same length as urls regardless of whether an error occurs or not.
344344// The inner dimension is across every fragment that a given URL produces.
345- // For some URL at index i, one can check for a hit on any blacklist by
345+ // For some URL at index i, one can check for a hit on any blocklist by
346346// checking if len(threats[i]) > 0.
347347// The ThreatEntryType field in the inner ThreatType will be set to
348348// ThreatEntryType_URL as this is a URL lookup.
0 commit comments