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
↓ 1 callers
Method
setQuotaRenewalRate
<code>optional int64 quota_renewal_rate = 9;</code>
coprocess/bindings/java/CoprocessSessionState.java:5853
↓ 1 callers
Method
setQuotaRenews
<code>optional int64 quota_renews = 7;</code>
coprocess/bindings/java/CoprocessSessionState.java:5801
↓ 1 callers
Method
setRate
<code>optional double rate = 3;</code>
coprocess/bindings/java/CoprocessSessionState.java:5697
↓ 1 callers
Method
setRequiredFields
setRequiredFields sets some required fields to make OAS object a valid one.
apidef/oas/oas.go:773
↓ 1 callers
Method
setResponseCode
<code>optional int32 response_code = 1;</code>
coprocess/bindings/java/CoprocessReturnOverrides.java:450
↓ 1 callers
Method
setSessionLifetime
<code>optional int64 session_lifetime = 28;</code>
coprocess/bindings/java/CoprocessSessionState.java:7175
↓ 1 callers
Method
setTestScopeConfig
setTestScopeConfig overrides config in scope of test case.
gateway/testutil.go:1137
↓ 1 callers
Method
setUpOrDryRunStream
(streamConfig any, streamID string)
ee/middleware/streams/manager.go:43
↓ 1 callers
Function
setupCertificateCheckMWIntegrationWithEvents
setupCertificateCheckMWIntegrationWithEvents creates a middleware instance for integration testing with configurable event tracking This allows tests
gateway/mw_certificate_check_integration_test.go:101
↓ 1 callers
Function
setupConnectionConfig
( connConfig Config, loginFunc func(string, string) interface{}, emergencyModeFunc func(), emergencyModeLo
rpc/rpc_client.go:277
↓ 1 callers
Function
setupDialFunction
(connID string)
rpc/rpc_client.go:326
↓ 1 callers
Function
setupGlobals
()
log/log.go:48
↓ 1 callers
Method
setupInstrumentation
setupInstrumentation handles all the initialisation of the instrumentation handler
gateway/instrumentation_handlers.go:21
↓ 1 callers
Function
setupKeepalive
(conn net.Conn)
gateway/api_definition_test.go:903
↓ 1 callers
Method
setupLogger
()
gateway/server.go:1269
↓ 1 callers
Function
setupMockRPCServer
setupMockRPCServer creates a mock RPC server for testing async RPC behavior. It simulates a slow MDCB backend with configurable delay.
gateway/mw_organisation_activity_test.go:527
↓ 1 callers
Function
setupQuotaLimit
(tb testing.TB, ts *Test, name string, data map[string]interface{})
tests/quota/shim_test.go:19
↓ 1 callers
Method
shouldBypassProxy
shouldBypassProxy checks if a host should bypass the proxy based on bypass proxy configuration.
internal/httpclient/factory.go:277
↓ 1 callers
Method
shouldEnable
()
gateway/mw_api_rate_limit.go:29
↓ 1 callers
Function
shouldPerformTracing
(rh TykResponseHandler, baseMw *BaseTykResponseHandler)
gateway/middleware.go:811
↓ 1 callers
Method
shouldReload
shouldReload returns true if we should perform any reload. Reloads happens if we have reload callback queued.
gateway/server.go:1193
↓ 1 callers
Function
shouldRetryOnNetworkError
shouldRetryOnNetworkError checks if an error is a network error that might benefit from retry
gateway/dashboard_recovery.go:122
↓ 1 callers
Function
shouldRewriteHost
(oldURL, newURL *url.URL)
gateway/mw_url_rewrite.go:476
↓ 1 callers
Method
shouldUpdateChildAPIsGW
shouldUpdateChildAPIsGW checks if child APIs need server updates after base API changes. Returns true if this is a base API with versions and versioni
gateway/api_oas_servers.go:77
↓ 1 callers
Function
shouldValidateAuthSource
(authType string, apiDef *APIDefinition)
apidef/validator.go:127
↓ 1 callers
Function
showCrossHair
(cm)
templates/playground/playground.js:149
↓ 1 callers
Function
showTooltip
(cm,e,content)
templates/playground/playground.js:129
↓ 1 callers
Method
shutdownHTTPServer
shutdownHTTPServer gracefully shuts down an HTTP server
gateway/server.go:2155
↓ 1 callers
Method
shutdownTCPProxy
shutdownTCPProxy gracefully shuts down a TCP proxy
gateway/server.go:2179
↓ 1 callers
Function
si
(a,b,c)
templates/playground/playground.js:1311
↓ 1 callers
Method
sign
(key string, manifest *apidef.BundleManifest, bundle *bytes.Buffer)
cli/bundler/bundler.go:148
↓ 1 callers
Method
skipSpecBecauseInvalid
(spec *APISpec, logger *logrus.Entry)
gateway/api_loader.go:72
↓ 1 callers
Function
sortMockResponseAllowList
sortMockResponseAllowList sorts the mock response paths by path, method, and response code. This ensures a deterministic order of mock responses.
apidef/oas/operation.go:1034
↓ 1 callers
Function
splitBypassProxy
splitBypassProxy splits a bypass proxy string into individual hosts.
internal/httpclient/factory.go:293
↓ 1 callers
Function
splitSpaces
(text,trailingBefore)
templates/playground/playground.js:149
↓ 1 callers
Method
start
()
gateway/server.go:1975
↓ 1 callers
Method
startCleanupTimer
(ctx context.Context)
internal/memorycache/cache.go:78
↓ 1 callers
Function
startEclipseMosquittoContainer
(t *testing.T)
gateway/mw_streaming_mqtt_test.go:27
↓ 1 callers
Method
startRateLimitNotifications
()
gateway/distributed_rate_limiter.go:12
↓ 1 callers
Function
startState
(mode,a1,a2)
templates/playground/playground.js:149
↓ 1 callers
Function
stopTestServices
(ts *gateway.Test, grpcServer *grpc.Server, listener net.Listener)
coprocess/grpc/services_test.go:63
↓ 1 callers
Function
stringStartsAfter
(cm,pos)
templates/playground/playground.js:105
↓ 1 callers
Function
stripSignature
(token string)
gateway/mw_http_signature_validation.go:213
↓ 1 callers
Function
stripSlashes
stripSlashes removes any trailing slashes from the request's URL path.
gateway/server.go:674
↓ 1 callers
Function
subscribeImpl
(args)
templates/playground/playground.js:645
↓ 1 callers
Function
suggestionList
(input,options)
templates/playground/playground.js:545
↓ 1 callers
Method
syncPolicies
()
gateway/server.go:619
↓ 1 callers
Function
t
(kind,style)
templates/playground/playground.js:381
↓ 1 callers
Function
target
(listenAddress string, listenPort int)
gateway/proxy_muxer.go:485
↓ 1 callers
Method
testAMQP09Output
(expectedMessages [][]byte)
gateway/mw_streaming_amqp_test.go:281
↓ 1 callers
Method
testAMQP1Output
(expectedMessages [][]byte)
gateway/mw_streaming_amqp_test.go:326
↓ 1 callers
Function
testAsyncAPIHttp
(t *testing.T, ts *Test, isDynamic bool, tenantID string, apiName string, kafkaHost string)
gateway/mw_streaming_test.go:641
↓ 1 callers
Function
testEq
(a, b []string)
gateway/mw_jwt_test.go:2141
↓ 1 callers
Method
testHashFuncAndBAHelper
(t *testing.T)
gateway/api_test.go:1277
↓ 1 callers
Method
testHashKeyHandlerHelper
(t *testing.T, expectedHashSize int)
gateway/api_test.go:1153
↓ 1 callers
Method
testHttpHandler
(gw *Gateway)
gateway/testutil.go:466
↓ 1 callers
Function
testJSVM_Auth
(t *testing.T, hashKeys bool)
gateway/mw_js_plugin_test.go:914
↓ 1 callers
Function
testKey
(testName string, name string)
gateway/gateway_test.go:39
↓ 1 callers
Function
testPrepareTransformJSONMarshalArray
(tb testing.TB)
gateway/mw_transform_test.go:193
↓ 1 callers
Function
testPrepareTransformXMLMarshal
(tmpl string, inputType apidef.RequestInputType)
gateway/mw_transform_test.go:125
↓ 1 callers
Method
testRecordUptimeAnalytics
(t *testing.T)
gateway/host_checker_manager_test.go:341
↓ 1 callers
Function
testRequestWithContext
(binding bindContextFunc)
gateway/handler_success_test.go:27
↓ 1 callers
Function
testRouteLongestPathFirst
(t *testing.T)
tests/regression/issue_11806_test.go:128
↓ 1 callers
Function
testSubrouterHost
testSubrouterHost verifies directly with gorilla/mux, that the host subrouter should be created before adding routes to the main router.
tests/regression/issue_11806_test.go:75
↓ 1 callers
Function
testWebsocketOutput
(t *testing.T, wsClients []*websocket.Conn, messageToSend string, numMessages int)
gateway/mw_streaming_amqp_test.go:227
↓ 1 callers
Method
timeValidateJWTClaims
(c jwt.MapClaims)
gateway/mw_jwt.go:1176
↓ 1 callers
Function
toScopeStringsSlice
(v interface{}, scopeSlice *[]string, nested bool)
gateway/mw_jwt.go:622
↓ 1 callers
Function
tokenComment
(stream,state)
templates/playground/playground.js:153
↓ 1 callers
Function
tokenQuasi
(stream,state)
templates/playground/playground.js:153
↓ 1 callers
Function
tokenString
(quote)
templates/playground/playground.js:153
↓ 1 callers
Method
transformJQBody
(r *http.Request, ts *TransformJQSpec)
gateway/mw_transform_jq.go:70
↓ 1 callers
Function
trimCategories
(name string)
gateway/api_loader.go:770
↓ 1 callers
Function
trimNamespace
(s string)
apidef/importer/wsdl.go:306
↓ 1 callers
Function
ucs2decode
(string)
templates/playground/playground.js:1173
↓ 1 callers
Function
ucs2encode
(array)
templates/playground/playground.js:1173
↓ 1 callers
Function
uk
(a,b)
templates/playground/playground.js:1290
↓ 1 callers
Function
uniqueBy
(array,iteratee)
templates/playground/playground.js:329
↓ 1 callers
Function
unsuccessful
(state)
templates/playground/playground.js:393
↓ 1 callers
Method
updateChildAPIsServersGW
updateChildAPIsServersGW updates server URLs for all child APIs when base API versioning changes. This is called after updating a base API if versioni
gateway/api_oas_servers.go:83
↓ 1 callers
Function
updateExternalMeasurement
(cm,line)
templates/playground/playground.js:149
↓ 1 callers
Function
updateLine
(line,text,markedSpans,estimateHeight)
templates/playground/playground.js:149
↓ 1 callers
Function
updateLineBackground
(cm,lineView)
templates/playground/playground.js:149
↓ 1 callers
Function
updateLineText
(cm,lineView)
templates/playground/playground.js:149
↓ 1 callers
Function
updateLineWidgets
(cm,lineView,dims)
templates/playground/playground.js:149
↓ 1 callers
Method
updateOauthClient
Update Client
gateway/api.go:2397
↓ 1 callers
Method
updateSessionQuota
updateSessionQuota updates session attached access rights. When limits are defined, QuotaRemaining and QuotaRenews is updated for a matching access r
gateway/session_manager.go:539
↓ 1 callers
Method
updateSessionRootVars
(session *user.SessionState, rights map[string]user.AccessDefinition, applyState applyStatus)
internal/policy/apply.go:567
↓ 1 callers
Method
update_hook_table
(self, with_bundle=None)
coprocess/python/dispatcher.py:46
↓ 1 callers
Function
upstreamConn
(c net.Conn)
tcp/tcp.go:362
↓ 1 callers
Function
validate
(schema,documentAST)
templates/playground/playground.js:925
↓ 1 callers
Function
validateAudience
(claims jwt.MapClaims, allowedAudiences []string)
gateway/mw_jwt.go:1218
↓ 1 callers
Function
validateBentoConfiguration
(document []byte, bentoValidatorKind bento.ValidatorKind)
apidef/streams/validator.go:142
↓ 1 callers
Method
validateClaims
(token *jwt.Token)
gateway/mw_jwt.go:1181
↓ 1 callers
Method
validateCompliantModeAuthentication
validateCompliantModeAuthentication validates that all enabled auth methods in compliant mode are properly configured in security requirements (either
apidef/oas/oas.go:590
↓ 1 callers
Method
validateCustomClaimsNew
validateCustomClaims performs validation of custom claims according to the configuration
gateway/mw_jwt.go:1283
↓ 1 callers
Function
validateEnumValues
(context,enumType)
templates/playground/playground.js:673
↓ 1 callers
Function
validateFields
(context,type)
templates/playground/playground.js:673
↓ 1 callers
Method
validateHTTP
()
gateway/api_definition.go:231
↓ 1 callers
Method
validateInput
()
cli/importer/importer.go:87
↓ 1 callers
Function
validateInputFields
(context,inputObj)
templates/playground/playground.js:673
← previous
next →
4,601–4,700 of 9,242, ranked by callers