diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2024-07-06 18:52:43 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2024-07-06 18:52:43 -0400 |
commit | bbbad55d497910f6e4e6989369d2abd12453d089 (patch) | |
tree | fecd7fcbad4fcdff131bdf3e18f9a3bcc72a5759 /pkg/api/api0/api.go | |
parent | 8e88d4aed1a77b0ac0279ff132fd9e0c2b80996f (diff) | |
download | Atlas-bbbad55d497910f6e4e6989369d2abd12453d089.tar.gz Atlas-bbbad55d497910f6e4e6989369d2abd12453d089.zip |
pkg/api/api0, pkg/atlas, pkg/eax: Remove EAX username source
Stryder has supported returning the username since October 2023, and
metrics indicate it always works and returns the same thing.
Diffstat (limited to 'pkg/api/api0/api.go')
-rw-r--r-- | pkg/api/api0/api.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/api/api0/api.go b/pkg/api/api0/api.go index 355deef..2fc1347 100644 --- a/pkg/api/api0/api.go +++ b/pkg/api/api0/api.go @@ -27,7 +27,6 @@ import ( "github.com/klauspost/compress/gzip" "github.com/pg9182/ip2x" - "github.com/r2northstar/atlas/pkg/eax" "github.com/r2northstar/atlas/pkg/metricsx" "github.com/r2northstar/atlas/pkg/nspkt" "github.com/rs/zerolog/hlog" @@ -48,12 +47,6 @@ type Handler struct { // NSPkt handles connectionless packets. It must be non-nil. NSPkt *nspkt.Listener - // UsernameSource configures the source to use for usernames. - UsernameSource UsernameSource - - // EAXClient makes requests to the EAX API. - EAXClient *eax.Client - // CleanBadWords is used to filter bad words from server names and // descriptions. If not provided, words will not be filtered. CleanBadWords func(s string) string |