Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TykTechnologies/tyk
/ functions
Functions
9,242 in github.com/TykTechnologies/tyk
⨍
Functions
9,242
◇
Types & classes
1,202
↓ 10 callers
Function
renderType
(into,typeInfo,options,t)
templates/playground/playground.js:37
↓ 10 callers
Function
scrollGap
(cm)
templates/playground/playground.js:149
↓ 10 callers
Function
serializeObject
(outputValue)
templates/playground/playground.js:665
↓ 10 callers
Function
updateLineHeight
(line,height)
templates/playground/playground.js:149
↓ 10 callers
Function
visualLine
(line)
templates/playground/playground.js:149
↓ 10 callers
Function
waitTimeout
(wg *sync.WaitGroup, timeout time.Duration)
gateway/mw_http_signature_validation_test.go:113
↓ 9 callers
Function
$e
(a)
templates/playground/playground.js:1290
↓ 9 callers
Function
$h
(a,b,c)
templates/playground/playground.js:1290
↓ 9 callers
Function
AddCACertificatesFromChainToPool
AddCACertificatesFromChainToPool traverses a certificate chain and adds only CA certificates to the provided pool. This is necessary when certificate
internal/crypto/helpers.go:166
↓ 9 callers
Method
All
()
apidef/host_list.go:32
↓ 9 callers
Method
CreateWebhookClient
CreateWebhookClient creates an HTTP client for webhook requests.
gateway/external_http_client.go:58
↓ 9 callers
Method
FindStringSubmatch
FindStringSubmatch is the same as regexp.Regexp.FindStringSubmatch but returns cached result instead.
regexp/regexp.go:321
↓ 9 callers
Method
GetDNSCheckedAfterError
()
rpc/rpc_client.go:83
↓ 9 callers
Method
GetPolicyID
()
gateway/oauth_manager.go:78
↓ 9 callers
Method
HandleError
(http.ResponseWriter, *http.Request)
gateway/middleware.go:714
↓ 9 callers
Function
K
(a)
templates/playground/playground.js:1298
↓ 9 callers
Method
Name
()
gateway/mw_certificate_check.go:24
↓ 9 callers
Function
NewConnector
NewConnector creates a new storage connection.
storage/connection_handler.go:232
↓ 9 callers
Method
Normalize
Normalize mocks base method.
internal/graphql/execution_engine_mock.go:77
↓ 9 callers
Function
Pg
(a,b,c)
templates/playground/playground.js:1311
↓ 9 callers
Function
Prefix
Prefix is a utility function to generate rate limiter redis key names.
internal/rate/rate.go:28
↓ 9 callers
Method
ProcessKeySpaceChanges
ProcessKeySpaceChanges receives an array of keys to be processed, those keys are considered changes in the keyspace in the management layer, they coul
gateway/rpc_storage_handler.go:1032
↓ 9 callers
Method
ProcessRequest
ProcessRequest will run any checks on the request on the way through the system, return an error to have the chain fail
gateway/mw_js_plugin.go:117
↓ 9 callers
Function
Qg
(a,b,c)
templates/playground/playground.js:1290
↓ 9 callers
Function
Rc
(a)
templates/playground/playground.js:1290
↓ 9 callers
Function
Rd
(a)
templates/playground/playground.js:1311
↓ 9 callers
Method
RunInBackground
(ctx context.Context)
internal/certcheck/batcher.go:84
↓ 9 callers
Method
SetKey
SetKey will create (or update) a key value in the store
storage/redis_cluster.go:366
↓ 9 callers
Function
Sg
(a)
templates/playground/playground.js:1290
↓ 9 callers
Method
Shutdown
Shutdown initiates graceful shutdown and waits for all connections to finish
tcp/tcp.go:114
↓ 9 callers
Function
activeElt
()
templates/playground/playground.js:149
↓ 9 callers
Function
adjustPos
(orig,folded,pos,foldFunc)
templates/playground/playground.js:141
↓ 9 callers
Function
ctxGetAuthToken
(r *http.Request)
gateway/api.go:3140
↓ 9 callers
Function
dc
(a,b)
templates/playground/playground.js:1290
↓ 9 callers
Function
diff
(oldArray,newArray)
templates/playground/playground.js:709
↓ 9 callers
Function
eh
(a,b)
templates/playground/playground.js:1290
↓ 9 callers
Method
ensureAllowedUrlsIsMutable
()
coprocess/bindings/java/CoprocessSessionState.java:1629
↓ 9 callers
Function
eventInWidget
(display,e)
templates/playground/playground.js:149
↓ 9 callers
Method
fillAllowance
(endpointMetas []apidef.EndPointMeta, typ AllowanceType)
apidef/oas/operation.go:282
↓ 9 callers
Method
getAuthType
getAuthType overrides BaseMiddleware.getAuthType.
gateway/mw_auth_key.go:87
↓ 9 callers
Method
getDescriptor
()
coprocess/bindings/java/CoprocessObject.java:2476
↓ 9 callers
Function
getOrder
(line,direction)
templates/playground/playground.js:149
↓ 9 callers
Method
getURLStatus
(stat URLStatus)
gateway/api_definition.go:1371
↓ 9 callers
Method
getUserIdFromClaim
(claims jwt.MapClaims)
gateway/mw_jwt.go:587
↓ 9 callers
Method
hashCode
()
coprocess/bindings/java/CoprocessObject.java:1745
↓ 9 callers
Function
heightAtLine
(lineObj)
templates/playground/playground.js:149
↓ 9 callers
Function
hg
(a,b,c)
templates/playground/playground.js:1290
↓ 9 callers
Method
isInVendorSecurity
isInVendorSecurity checks if a scheme name appears in vendor extension security requirements
apidef/oas/security.go:970
↓ 9 callers
Function
isObjectLike
(value)
templates/playground/playground.js:497
↓ 9 callers
Function
newRequestWithHeaders
Helper function to create a request with specified headers
internal/httputil/streaming_test.go:19
↓ 9 callers
Function
newTestGranularAccessCheckerV1
(t *testing.T)
internal/graphengine/graphql_go_tools_v1_test.go:986
↓ 9 callers
Function
normalizeServerURL
normalizeServerURL normalizes a server URL for comparison. This handles trailing slashes, double slashes, and other URL inconsistencies.
apidef/oas/servers_regeneration.go:400
↓ 9 callers
Function
prepareExtractorFormRequest
(values map[string]string)
gateway/coprocess_id_extractor_test.go:95
↓ 9 callers
Function
prepareHeaderExtractorRequest
(headers map[string]string)
gateway/coprocess_id_extractor_test.go:79
↓ 9 callers
Function
qg
()
templates/playground/playground.js:1290
↓ 9 callers
Function
readDigits
()
templates/playground/playground.js:77
↓ 9 callers
Method
reloadURLStructure
reloadURLStructure will queue an API reload. The reload will eventually create a new muxer, reload all the app configs for an instance and then replac
gateway/server.go:1265
↓ 9 callers
Function
setupOASForStreamAPI
(streamingConfig string)
gateway/mw_streaming_test.go:387
↓ 9 callers
Function
step
(result)
templates/playground/playground.js:233
↓ 9 callers
Function
tc
(a,b,c,d,e,f)
templates/playground/playground.js:1290
↓ 9 callers
Method
testPrepareProcessRequestQuotaLimit
(tb testing.TB, data map[string]interface{})
gateway/mw_organisation_activity_test.go:18
↓ 9 callers
Function
toTarget
(t *testing.T, scheme string, ls net.Listener)
gateway/grpc_test.go:509
↓ 9 callers
Function
transformBody
(r *http.Request, tmeta *TransformSpec, t *TransformMiddleware)
gateway/mw_transform.go:58
↓ 9 callers
Function
uh
()
templates/playground/playground.js:1290
↓ 9 callers
Function
writeGraphQLError
(logger abstractlogger.Logger, w http.ResponseWriter, errors graphql.Errors)
internal/graphengine/utils.go:55
↓ 8 callers
Function
Bf
(a)
templates/playground/playground.js:1290
↓ 8 callers
Method
Connected
Connected checks the current state of the Redis connection, offering a simple interface for Go plugins to verify connectivity without delving into the
storage/redis_shim.go:38
↓ 8 callers
Method
CreateIntrospectionClient
CreateIntrospectionClient creates an HTTP client for OAuth introspection requests.
gateway/external_http_client.go:52
↓ 8 callers
Method
Disable
Disable turns off tracking of reload cycles and queues
gateway/testutil.go:155
↓ 8 callers
Function
Ef
(a,b)
templates/playground/playground.js:1290
↓ 8 callers
Function
Ei
(a,b)
templates/playground/playground.js:1311
↓ 8 callers
Method
Enable
Enable when callled it will allow r to keep track of reload cycles and queues
gateway/testutil.go:148
↓ 8 callers
Method
EnablePort
(port int, protocol string)
gateway/testutil.go:371
↓ 8 callers
Method
Err
Err checks the rate limit configuration for validity and returns an error if it is not valid. It checks for a nil value, the enabled flag and valid va
apidef/api_definitions.go:255
↓ 8 callers
Method
Err
Err returns a validation error for *Allowance.
internal/rate/model/allowance.go:49
↓ 8 callers
Method
Fill
Fill fills *CachePlugin from apidef.CacheMeta.
apidef/oas/middleware.go:1237
↓ 8 callers
Method
Find
Find is the same as regexp.Regexp.Find but returns cached result instead.
regexp/regexp.go:241
↓ 8 callers
Method
FromDashboardService
FromDashboardService will connect and download ApiDefintions from a Tyk Dashboard instance.
gateway/api_definition.go:398
↓ 8 callers
Method
GC
GC removes inactive stream managers.
ee/middleware/streams/middleware.go:148
↓ 8 callers
Function
GenerateRootCertAndKey
GenerateRootCertAndKey generates a root certificate and private key for testing purposes. It returns the root certificate and private key in PEM forma
internal/crypto/testutil.go:42
↓ 8 callers
Method
GetKey
GetKey will retrieve a key from the database
storage/redis_cluster.go:268
↓ 8 callers
Function
GetOASSchema
GetOASSchema returns an oas schema for a particular version.
apidef/oas/validator.go:183
↓ 8 callers
Method
GetRawKey
(keyName string)
gateway/rpc_storage_handler.go:259
↓ 8 callers
Function
GetSession
(r *http.Request)
ctx/ctx.go:95
↓ 8 callers
Method
GetUserData
()
gateway/oauth_manager.go:74
↓ 8 callers
Function
Gf
()
templates/playground/playground.js:1290
↓ 8 callers
Method
GlobalHeadersEnabled
()
apidef/api_definitions.go:503
↓ 8 callers
Method
GlobalResponseHeadersEnabled
()
apidef/api_definitions.go:507
↓ 8 callers
Method
HasFireEventCooldown
(certID string)
internal/certcheck/cache.go:42
↓ 8 callers
Function
Ii
(a,b)
templates/playground/playground.js:1290
↓ 8 callers
Function
InitOpenTelemetry
InitOpenTelemetry initializes OpenTelemetry - it returns a TracerProvider which can be used to create a tracer. If OpenTelemetry is disabled or miscon
internal/otel/otel.go:53
↓ 8 callers
Function
IsEnabled
IsEnabled returns true if the global trace manager is enabled.
trace/manager.go:104
↓ 8 callers
Function
Jg
(a,b,c)
templates/playground/playground.js:1290
↓ 8 callers
Function
La
(a)
templates/playground/playground.js:1290
↓ 8 callers
Function
LoadAPISpec
(tb testing.TB, filename string)
tests/regression/regression_test.go:22
↓ 8 callers
Method
Match
Match reports whether the Regexp matches the byte slice b.
regexp/regexp.go:182
↓ 8 callers
Function
NewGraphQLConfigAdapter
(apiDefinition *apidef.APIDefinition, options ...GraphQLConfigAdapterOption)
apidef/adapter/graphql_config_adapter.go:62
↓ 8 callers
Function
NewRecord
NewRecord creates a new Record and populates it with the current goroutine dump.
internal/debug2/goroutine.go:18
↓ 8 callers
Function
NewRoot
NewRoot creates a Root scoped to the given directory path. This is the flexible and recommended way to create a scoped file system.
internal/osutil/osutil.go:17
↓ 8 callers
Function
Ob
(a,b)
templates/playground/playground.js:1290
← previous
next →
501–600 of 9,242, ranked by callers