MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Get

Method Get

pkg/auth/mtls/proxy_headers.go:29–29  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

27// HeaderReader is an interface for reading headers, typically HTTP headers and gRPC metadata.
28type HeaderReader interface {
29 Get(key string) string
30}
31
32var errProxyHeaderValue = errors.DefineCorruption("proxy_header_value", "invalid proxy header value")

Callers 15

FileMethod · 0.65
getOrLoadMethod · 0.65
getOrLoadMethod · 0.65
UnclaimMethod · 0.65
GetMethod · 0.65
retrieveMethod · 0.65
FromProxyHeadersFunction · 0.65
TestPbaFunction · 0.65
GetUserMethod · 0.65
GetOrganizationMethod · 0.65
TestHTTPFunction · 0.65
ServeHTTPMethod · 0.65

Implementers 15

mockGatewayRegistrypkg/deviceclaimingserver/util_test.go
Registrypkg/deviceclaimingserver/registry/gate
applicationActivationSettingsRegistryServerpkg/joinserver/grpc_application_activa
jsEndDeviceRegistryServerpkg/joinserver/grpc_deviceregistry.go
ISpkg/gatewayserver/is.go
DownlinkTokenspkg/gatewayserver/io/downlink_token.go
GatewayConnectionStatsRegistrypkg/gatewayserver/redis/registry.go
mockGatewayClientpkg/basicstation/cups/server_test.go
Fpkg/log/fields.go
NetworkServerpkg/networkserver/networkserver.go
NsMACSettingsProfileRegistrypkg/networkserver/grpc_mac_settings_pr
MockMACSettingsProfileRegistrypkg/networkserver/networkserver_util_i

Calls

no outgoing calls

Tested by 15

TestPbaFunction · 0.52
TestHTTPFunction · 0.52
TestPProfFunction · 0.52
TestDeviceRegistryGetFunction · 0.52
assertGetStatusCodeFunction · 0.52
TestOAuthFlowFunction · 0.52
TestFieldsFunction · 0.52
TestProxyHeadersFunction · 0.52
TestConditionalFunction · 0.52
TestBasicAuthFunction · 0.52
TestRedirectFunction · 0.52