owncast/core
Tim Cooper 12eb59f611
refactor geoip (#1442)
- Introduce a new Client type to remove the global variables from the file
- Use the sync package to prevent race conditions with the cache and
  enabled flag
- Cache results for IPs, even if the result is nil

There are still data races around the client.Geo variable, but that can be
resolved in a future commit.
2021-10-12 13:21:37 -07:00
..
chat refactor geoip (#1442) 2021-10-12 13:21:37 -07:00
data Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
playlist Fix godoc style comments (#356) 2020-11-12 15:14:59 -08:00
rtmp Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
storageproviders remove global variables from core/storageproviders (#1444) 2021-10-11 16:29:36 -07:00
transcoder Embed static resources (#1466) 2021-10-11 15:04:16 -07:00
user Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
webhooks Feature/oc 1316 add support for system message to single user (#1351) 2021-09-13 01:26:28 -07:00
core.go Embed static resources (#1466) 2021-10-11 15:04:16 -07:00
stats.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
status.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
storage.go remove global variables from core/storageproviders (#1444) 2021-10-11 16:29:36 -07:00
streamState.go Embed static resources (#1466) 2021-10-11 15:04:16 -07:00