featurebase/server
Garrison Davis ab2b48da0d Stop using string keys in contexts
This fixes the OriginalIP and RequestUserID in the main featurebase
package, and the Access and Refresh tokens, the UserInfo, and the
[]string of Indexes passed with context.Context(s) in the authn package.

An empty struct was used for all of these keys (and relevant helper
functions we added) to avoid allocations where possible while still
using the context functionality.

Some of the logic in the server.GetIndexes function was fixed.

(cherry picked from commit 0f5a56c958)
2022-11-15 11:32:03 -08:00
..
testdata/certs Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
cluster_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
config.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
config_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
config_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
dup.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
dup_arm64.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
grpc.go Stop using string keys in contexts 2022-11-15 11:32:03 -08:00
grpc_internal_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
grpc_test.go Stop using string keys in contexts 2022-11-15 11:32:03 -08:00
handler_test.go Stop using string keys in contexts 2022-11-15 11:32:03 -08:00
server.go drop anti-entropy feature, since it doesn't work 2022-11-15 11:31:13 -08:00
server_internal_test.go Updated code to latest version for open-sourcing. 2022-09-02 13:23:39 -07:00
server_test.go stop ignoring degraded/down states 2022-11-15 11:25:39 -08:00
sql.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
tlsconfig.go fix: updating code to meet linting requirements (#2171) 2022-09-29 12:34:29 -04:00
tlsconfig_test.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00
trial.go Updated dependency paths to reflect new repo location 2022-09-06 09:39:22 -07:00