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
↓ 4 callers
Function
UnmarshalTokenData
(tokenData string)
ee/middleware/upstreamoauth/token_cache.go:72
↓ 4 callers
Function
Va
(a)
templates/playground/playground.js:1290
↓ 4 callers
Method
Valid
Valid returns false if validation with Err() fails.
internal/rate/model/allowance.go:43
↓ 4 callers
Method
ValidateForSchema
(operation *graphql.Request)
internal/graphql/otel_graphql_engine_detailed.go:77
↓ 4 callers
Function
Wb
(a)
templates/playground/playground.js:1311
↓ 4 callers
Function
WithType
(typ Type)
pkg/errpack/errpack.go:73
↓ 4 callers
Function
_class
(obj)
templates/playground/playground.js:933
↓ 4 callers
Function
_isNativeReflectConstruct
()
templates/playground/playground.js:421
↓ 4 callers
Function
_loop
(_i2)
templates/playground/playground.js:449
↓ 4 callers
Function
additionalUpstreamHeaders
(logger abstractlogger.Logger, outreq *http.Request, apiDefinition *apidef.APIDefinition)
internal/graphengine/utils.go:122
↓ 4 callers
Function
ag
()
templates/playground/playground.js:1311
↓ 4 callers
Method
apisByIDLen
()
gateway/server.go:390
↓ 4 callers
Method
applyPoliciesAndSave
(keyName string, session *user.SessionState, spec *APISpec, isHashed bool)
gateway/api.go:262
↓ 4 callers
Function
astFromValue
(value,type)
templates/playground/playground.js:685
↓ 4 callers
Function
benchmarkFormatter
(b *testing.B, formatter logrus.Formatter)
log/log_test.go:57
↓ 4 callers
Function
bf
(a,b)
templates/playground/playground.js:1311
↓ 4 callers
Function
buildFieldDefMap
(typeIntrospection)
templates/playground/playground.js:693
↓ 4 callers
Function
buildFieldMap
(nodes)
templates/playground/playground.js:705
↓ 4 callers
Function
buildImplementationsList
(implementingIntrospection)
templates/playground/playground.js:693
↓ 4 callers
Function
buildInterfaces
(nodes)
templates/playground/playground.js:705
↓ 4 callers
Function
buildTestOAuthSpec
(apiGens ...func(spec *APISpec))
gateway/oauth_manager_test.go:71
↓ 4 callers
Function
buildViewArray
(cm,from,to)
templates/playground/playground.js:149
↓ 4 callers
Method
cb
()
gateway/host_checker_test.go:276
↓ 4 callers
Method
checkAndApplyTrialPeriod
(keyName string, newSession *user.SessionState, isHashed bool)
gateway/api.go:241
↓ 4 callers
Function
checkDNSAndReconnect
checkDNSAndReconnect checks if DNS resolution has changed and reconnects if needed
rpc/dns_resolver.go:86
↓ 4 callers
Function
ck
(a)
templates/playground/playground.js:1311
↓ 4 callers
Function
clearSearch
(cm)
templates/playground/playground.js:137
↓ 4 callers
Function
cmpCoords
(a,b)
templates/playground/playground.js:149
↓ 4 callers
Function
collapsedSpanAtEnd
(line)
templates/playground/playground.js:149
↓ 4 callers
Function
compile
(self)
templates/playground/playground.js:933
↓ 4 callers
Method
composeExpiredMessage
(certInfo CertInfo, daysSinceExpiry int, hoursSinceExpiry int)
internal/certcheck/batcher.go:402
↓ 4 callers
Method
composeSoonToExpireMessage
(certInfo CertInfo, daysUntilExpiry int, remainingHours int)
internal/certcheck/batcher.go:391
↓ 4 callers
Function
copyBody
(body io.ReadCloser, greedy bool)
gateway/reverse_proxy.go:1781
↓ 4 callers
Function
createAdvancedCacheConfig
createAdvancedCacheConfig creates a new CacheMeta configuration for advanced caching.
apidef/migration.go:373
↓ 4 callers
Function
createMultiAuthKeyAuthSession
(isBench bool)
gateway/multiauth_test.go:45
↓ 4 callers
Function
createMultiBasicAuthSession
(isBench bool)
gateway/multiauth_test.go:64
↓ 4 callers
Function
createOAuthHTTPClient
createOAuthHTTPClient creates an HTTP client for OAuth operations with proper mTLS error handling
ee/middleware/upstreamoauth/oauth_client_utils.go:10
↓ 4 callers
Function
ctxGetURLRewriteTarget
(r *http.Request)
gateway/api.go:3220
↓ 4 callers
Method
customDialTLSCheck
(spec *APISpec, tc *tls.Config)
gateway/cert.go:237
↓ 4 callers
Method
decodePayload
(payload string)
gateway/mw_redis_cache.go:129
↓ 4 callers
Method
decodeToNameSpace
(namespace string, jsonParsed *gabs.Container)
gateway/service_discovery.go:95
↓ 4 callers
Method
decodeToNameSpaceAsArray
(namespace string, jsonParsed *gabs.Container)
gateway/service_discovery.go:101
↓ 4 callers
Method
deleteRawKeysWithAllowanceScope
(store storage.Handler, session *user.SessionState, keyName string)
gateway/auth_manager.go:93
↓ 4 callers
Function
determineHosts
determineHosts determines which hosts to use for server URL generation.
apidef/oas/servers_regeneration.go:240
↓ 4 callers
Function
dialog
(cm,text,shortText,deflt,f)
templates/playground/playground.js:133
↓ 4 callers
Method
doAddOrUpdate
(keyName string, newSession *user.SessionState, dontReset bool, isHashed bool)
gateway/api.go:325
↓ 4 callers
Function
doHandleBinding
(cm,bound,dropShift)
templates/playground/playground.js:149
↓ 4 callers
Function
domToPos
(cm,node,offset)
templates/playground/playground.js:149
↓ 4 callers
Function
e_stop
(e)
templates/playground/playground.js:149
↓ 4 callers
Function
ek
()
templates/playground/playground.js:1290
↓ 4 callers
Function
ensurePolicyId
ensurePolicyId ensures ID field exists should be removed after migrate
gateway/policy.go:255
↓ 4 callers
Method
ensureTriggerLimitsIsMutable
()
coprocess/bindings/java/CoprocessSessionState.java:3482
↓ 4 callers
Function
estimateHeight
(cm)
templates/playground/playground.js:149
↓ 4 callers
Function
extendSelection
(doc,head,other,options,extend)
templates/playground/playground.js:149
↓ 4 callers
Function
extraLeft
(marker)
templates/playground/playground.js:149
↓ 4 callers
Function
extraRight
(marker)
templates/playground/playground.js:149
↓ 4 callers
Method
extractTokenTo
(api *apidef.APIDefinition, name string)
apidef/oas/security.go:81
↓ 4 callers
Function
extractURLQueryParamsForEngineV2
(url string, providedApiDefQueries []apidef.QueryVariable)
apidef/adapter/gqlengineadapter/enginev3/utils.go:19
↓ 4 callers
Function
fc
(a)
templates/playground/playground.js:1311
↓ 4 callers
Function
fieldsToFieldsConfig
(fields)
templates/playground/playground.js:649
↓ 4 callers
Method
findInternalHttpHandlerByNameOrID
(apiNameOrID string)
gateway/api_loader.go:746
↓ 4 callers
Function
findNext
(cm,rev,callback)
templates/playground/playground.js:137
↓ 4 callers
Function
fixFuncPath
(pathPrefix string, funcs []apidef.MiddlewareDefinition)
gateway/api_loader.go:121
↓ 4 callers
Function
flatMap
(tb testing.TB, src any, base map[string]any)
apidef/oas/fixtures_test.go:200
↓ 4 callers
Function
flatten
(result FlatMap, prefix string, v reflect.Value)
internal/maps/flatten.go:23
↓ 4 callers
Function
flatten
unlike maps.Flatten, this flatten coalesces numeric types to a float64 value. this is used in yaml decoding to map[]any as a numeric type.
internal/reflect/flatten.go:26
↓ 4 callers
Function
gatewayGetHostDetailsTestHasErr
(wantErr bool, errorText string)
gateway/server_test.go:283
↓ 4 callers
Method
generateSessionFromPolicy
(policyID, orgID string, enforceOrg bool)
gateway/mw_jwt.go:1432
↓ 4 callers
Function
generateTykServers
generateTykServers generates all Tyk-managed server URLs for an API.
apidef/oas/servers_regeneration.go:123
↓ 4 callers
Method
getAuthType
getAuthType overrides BaseMiddleware.getAuthType.
gateway/mw_http_signature_validation.go:51
↓ 4 callers
Method
getAvgCount
(prefix HealthPrefix)
gateway/api_healthcheck.go:79
↓ 4 callers
Method
getConfigForURI
(uri)
templates/playground/playground.js:345
↓ 4 callers
Method
getDefaultInstance
()
coprocess/bindings/java/CoprocessReturnOverrides.java:554
↓ 4 callers
Function
getDeprecationReason
(node)
templates/playground/playground.js:705
↓ 4 callers
Function
getFieldsAndFragmentNames
(context,cachedFieldsAndFragmentNames,parentType,selectionSet)
templates/playground/playground.js:833
↓ 4 callers
Method
getGlobalStorageHandler
(keyPrefix string, hashKeys bool)
gateway/server.go:1778
↓ 4 callers
Function
getKeyMap
(val)
templates/playground/playground.js:149
↓ 4 callers
Method
getMethod
(name string)
apidef/oas/middleware.go:924
↓ 4 callers
Function
getMode
(cm,pos)
templates/playground/playground.js:97
↓ 4 callers
Method
getMutableAccessRights
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessSessionState.java:5962
↓ 4 callers
Method
getMutableAddParams
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessMiniRequestObject.java:2232
↓ 4 callers
Method
getMutableExtendedParams
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessMiniRequestObject.java:2351
↓ 4 callers
Method
getMutableHeaders
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessMiniRequestObject.java:1643
↓ 4 callers
Method
getMutableMetadata
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessObject.java:1389
↓ 4 callers
Method
getMutableOauthKeys
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessSessionState.java:6219
↓ 4 callers
Method
getMutableParams
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessMiniRequestObject.java:2113
↓ 4 callers
Method
getMutableSetHeaders
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessMiniRequestObject.java:1762
↓ 4 callers
Method
getMutableSpec
Use alternate mutation accessors instead.
coprocess/bindings/java/CoprocessObject.java:1508
↓ 4 callers
Function
getQueryValPtr
(val string)
apidef/oas/default.go:331
↓ 4 callers
Method
getRequestPath
(r *http.Request)
gateway/mw_request_signing.go:79
↓ 4 callers
Method
getSecretFromURL
(url string, kidVal interface{}, keyType string)
gateway/mw_jwt.go:241
↓ 4 callers
Method
getSpecForOrg
(orgID string)
gateway/api.go:210
↓ 4 callers
Function
getTagListAsString
(tags []string)
gateway/rpc_backup_handlers.go:20
↓ 4 callers
Function
getTokenKindDesc
(kind)
templates/playground/playground.js:581
↓ 4 callers
Function
getType
(typeRef)
templates/playground/playground.js:693
↓ 4 callers
Method
getUpstreamCertificate
(host string, spec *APISpec)
gateway/cert.go:141
↓ 4 callers
Function
getVisitFn
(visitor,kind,isLeaving)
templates/playground/playground.js:605
↓ 4 callers
Function
gk
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Function
greaterThanInt64
greaterThanInt64 checks whether first int64 value is bigger than second int64 value. -1 means infinite and the biggest value.
internal/policy/util.go:81
↓ 4 callers
Function
greaterThanIntConsideringUnlimited
(first, second int)
internal/graphengine/utils.go:101
← previous
next →
1,301–1,400 of 9,242, ranked by callers