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
skipAtomicInner
(doc,pos,oldPos,dir,mayClear)
templates/playground/playground.js:149
↓ 4 callers
Function
sortObjMap
(map,sortValueFn)
templates/playground/playground.js:737
↓ 4 callers
Method
sortedSet
()
storage/redis_cluster.go:220
↓ 4 callers
Function
startSearch
(cm,state,query)
templates/playground/playground.js:137
↓ 4 callers
Method
stop
()
gateway/reverse_proxy.go:1644
↓ 4 callers
Function
stringToArray
(str)
templates/playground/playground.js:545
↓ 4 callers
Method
stripFromHeaders
strips auth key from headers
gateway/mw_strip_auth.go:73
↓ 4 callers
Method
swap
(new *proxyMux, gw *Gateway)
gateway/proxy_muxer.go:365
↓ 4 callers
Function
tagHeaders
(r *http.Request, th []string, tags []string)
gateway/handler_success.go:52
↓ 4 callers
Function
te
(a)
templates/playground/playground.js:1290
↓ 4 callers
Function
testGRPCStreamClient
(t *testing.T, addr string, opts ...grpc.DialOption)
gateway/grpc_streaming_client_test.go:192
↓ 4 callers
Method
testPrepareAuthKeySession
(apiDef string, isBench bool)
gateway/mw_auth_key_test.go:343
↓ 4 callers
Function
testRateLimit
(tb testing.TB, ts *Test, testPath string, testMethod string, want int)
tests/rate/per_api_limit_test.go:35
↓ 4 callers
Method
testTykStreamAMQPIntegration
()
gateway/mw_streaming_amqp_test.go:368
↓ 4 callers
Function
tk
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 4 callers
Function
tlsClientConfig
(s *APISpec, gw *Gateway)
gateway/reverse_proxy.go:623
↓ 4 callers
Function
toRadians
(num float64)
gateway/grpc_streaming_server_test.go:147
↓ 4 callers
Function
untpl
(tpl)
templates/playground/playground.js:933
↓ 4 callers
Function
updateFoldInfo
(cm,from,to)
templates/playground/playground.js:121
↓ 4 callers
Function
updateHeightsInViewport
(cm)
templates/playground/playground.js:149
↓ 4 callers
Method
validateOAS
(next http.HandlerFunc)
gateway/api.go:3044
↓ 4 callers
Function
vb
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
viewCuttingPoint
(cm,oldN,newN,dir)
templates/playground/playground.js:149
↓ 4 callers
Function
visibleLines
(display,doc,viewport)
templates/playground/playground.js:149
↓ 4 callers
Function
withEndpoint
(method, path string, fn EndpointFactory)
internal/oasbuilder/builder.go:178
↓ 4 callers
Function
wrapX
(pos,dir,side)
templates/playground/playground.js:149
↓ 4 callers
Method
writeOASAndAPIDefToFile
(fs afero.Fs, apiDef *apidef.APIDefinition, oasObj *oas.OAS)
gateway/api.go:1267
↓ 4 callers
Function
x
(e,g,h,k)
templates/playground/playground.js:1290
↓ 4 callers
Function
xj
(a,b)
templates/playground/playground.js:1311
↓ 4 callers
Function
yc
(a,b,c,d)
templates/playground/playground.js:1290
↓ 4 callers
Function
yg
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
yi
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
zi
(a,b,c,d,e,f)
templates/playground/playground.js:1290
↓ 4 callers
Function
zj
(a)
templates/playground/playground.js:1311
↓ 3 callers
Function
$i
(a,b)
templates/playground/playground.js:1290
↓ 3 callers
Method
AddToSet
(keyName, value string)
storage/redis_cluster.go:823
↓ 3 callers
Method
AddToSortedSet
AddToSortedSet adds value with given score to sorted set identified by keyName
storage/redis_cluster.go:993
↓ 3 callers
Function
AddTraceID
(ctx context.Context, w http.ResponseWriter)
internal/otel/otel.go:156
↓ 3 callers
Function
Ah
()
templates/playground/playground.js:1290
↓ 3 callers
Method
Apply
(input []byte)
apidef/streams/bento/schema/generate_bento_config_schema.go:360
↓ 3 callers
Method
ApplyEndpointLevelLimits
ApplyEndpointLevelLimits combines policyEndpoints and currEndpoints and returns the combined value. The returned endpoints would have the highest requ
internal/policy/apply.go:623
↓ 3 callers
Function
Bh
(a,b)
templates/playground/playground.js:1290
↓ 3 callers
Method
Build
()
internal/oasbuilder/builder.go:93
↓ 3 callers
Function
CI
CI returns true when a non-empty CI env is present
test/util.go:15
↓ 3 callers
Function
Ci
(a,b)
templates/playground/playground.js:1311
↓ 3 callers
Function
Cj
(a,b)
templates/playground/playground.js:1311
↓ 3 callers
Method
Clear
()
dnscache/manager.go:40
↓ 3 callers
Method
Client
Client will return a redis v8 RedisClient. This function allows implementation using the old storage clients.
storage/redis_cluster.go:75
↓ 3 callers
Method
Client
Client returns the redis.UniversalClient or an error if not available.
internal/rate/model/interfaces.go:32
↓ 3 callers
Method
Clone
Clone creates a deep copy of the OAS object and returns a new instance.
apidef/oas/oas.go:211
↓ 3 callers
Function
CloneAPI
(a *APISpec)
gateway/testutil.go:1899
↓ 3 callers
Function
CodeMirror
(place,options)
templates/playground/playground.js:149
↓ 3 callers
Method
ConvertIntoApiVersion
(bool)
apidef/importer/importer.go:15
↓ 3 callers
Function
ConvertYAMLToJSON
ConvertYAMLToJSON converts a YAML byte slice to a JSON byte slice
gateway/mw_streaming_test.go:105
↓ 3 callers
Method
Copy
Copy returns a new Regexp object copied from re. When using a Regexp in multiple goroutines, giving each goroutine its own copy helps to avoid lock c
regexp/regexp.go:121
↓ 3 callers
Method
Count
Count returns the number of items in cache, including expired items. Expired items get cleaned up by the janitor periodically.
internal/cache/cache.go:129
↓ 3 callers
Method
CreateDefinitionFromString
(defStr string)
gateway/testutil.go:1003
↓ 3 callers
Method
CreateRecorder
(r *http.Request)
ee/middleware/streams/analytics.go:15
↓ 3 callers
Method
CreateStreamManager
CreateStreamManager creates or retrieves a stream manager based on the request.
ee/middleware/streams/middleware.go:117
↓ 3 callers
Function
CreateTokenDataBytes
(encryptedToken string, token *oauth2.Token, extraMetadataKeys []string)
ee/middleware/upstreamoauth/token_cache.go:64
↓ 3 callers
Method
DaysUntilExpiry
DaysUntilExpiry returns the number of days until the certificate expires. This is calculated from the UntilExpiry field for convenience.
internal/certcheck/model.go:47
↓ 3 callers
Method
DeInit
()
gateway/mw_js_plugin.go:383
↓ 3 callers
Function
DecodeYAML
(dest, src interface{})
config/opentracing_custom_env_loader.go:60
↓ 3 callers
Function
Decrypt
Decrypt from base64 to decrypted string
internal/crypto/helpers.go:285
↓ 3 callers
Method
Delete
(key string)
dnscache/manager.go:39
↓ 3 callers
Method
Delete
(string)
internal/cache/repository.go:11
↓ 3 callers
Method
DeleteClient
(id string, orgID string, ignorePrefix bool)
gateway/oauth_manager.go:557
↓ 3 callers
Method
DeleteRawKey
(string)
storage/storage.go:31
↓ 3 callers
Function
Dh
(a,b,c,d)
templates/playground/playground.js:1311
↓ 3 callers
Method
Disconnect
()
gateway/rpc_storage_handler.go:199
↓ 3 callers
Function
Eb
(a)
templates/playground/playground.js:1290
↓ 3 callers
Function
EmitErrorEvent
(jobName string, funcName string, err error)
rpc/rpc_client.go:198
↓ 3 callers
Method
EnabledForSpec
EnabledForSpec checks if the middleware is enabled for the API spec
gateway/mw_auth_or_wrapper.go:243
↓ 3 callers
Method
Endpoints
Endpoints coverts EndpointsMap to Endpoints.
user/session.go:550
↓ 3 callers
Method
EngineConfig
()
apidef/adapter/gqlengineadapter/adapter_proxy_only.go:22
↓ 3 callers
Method
EngineConfigV3
()
apidef/adapter/gqlengineadapter/enginev3/adapter_proxy_only.go:21
↓ 3 callers
Function
EnsureTransport
EnsureTransport sanitizes host/protocol pairs and returns a valid URL.
gateway/reverse_proxy.go:130
↓ 3 callers
Function
EntityTooLarge
EntityTooLarge responds with HTTP 413 Request Entity Too Large. The function is used for a response when blocking requests by size.
internal/httputil/response.go:9
↓ 3 callers
Function
ExampleExtractor
ExampleExtractor returns an example payload according to the openapi3.SchemaRef object.
apidef/oas/example.go:6
↓ 3 callers
Method
Execute
(inCtx context.Context, operation *graphql.Request, writer resolve.FlushWriter, options ...graphql.ExecutionOp
internal/graphql/otel_graphql_engine_basic.go:67
↓ 3 callers
Method
ExtractForm
ExtractForm is used when a FormSource is specified.
gateway/coprocess_id_extractor.go:54
↓ 3 callers
Method
ExtractHeader
ExtractHeader is used when a HeaderSource is specified.
gateway/coprocess_id_extractor.go:44
↓ 3 callers
Method
ExtractStats
(rawRequest, response, schema string)
internal/graphql/graphql_request.go:56
↓ 3 callers
Method
ExtractTo
ExtractTo extracts *Authentication into *apidef.APIDefinition.
apidef/oas/authentication.go:200
↓ 3 callers
Method
ExtractTo
ExtractTo extracts *CustomPluginAuthentication to *apidef.APIDefinition.
apidef/oas/authentication.go:798
↓ 3 callers
Method
ExtractTo
ExtractTo extracts *PluginConfig into *apidef.
apidef/oas/middleware.go:557
↓ 3 callers
Method
ExtractTo
ExtractTo populates an APIDefinition's proxy load balancing configuration with data from the LoadBalancing instance.
apidef/oas/upstream.go:1354
↓ 3 callers
Method
Fill
Fill fills *CustomPluginAuthentication from apidef.AuthConfig.
apidef/oas/authentication.go:778
↓ 3 callers
Method
Fill
Fill fills *Middleware from apidef.APIDefinition.
apidef/oas/middleware.go:23
↓ 3 callers
Method
Fill
Fill fills PluginConfig from apidef.
apidef/oas/middleware.go:534
↓ 3 callers
Method
Fill
Fill fills *UptimeTests from apidef.UptimeTests.
apidef/oas/upstream.go:657
↓ 3 callers
Method
Fill
Fill sets the request's HeaderName with AuthValue
ee/middleware/upstreamoauth/provider.go:31
↓ 3 callers
Function
FindPythonConfig
FindPythonConfig scans PATH for common python-config locations.
dlpython/main.go:43
↓ 3 callers
Method
FireSystemEvent
(name apidef.TykEvent, meta interface{})
gateway/event_system.go:180
↓ 3 callers
Function
Flatten
Flatten transforms deep map to flat map.
internal/maps/flatten.go:12
↓ 3 callers
Method
Format
Format renders a single log entry
log/json_formatter.go:26
↓ 3 callers
Function
Gd
(a,b)
templates/playground/playground.js:1311
↓ 3 callers
Function
Get
Get retrieves the events from the context. Get will get the events from context. It will return nil if no events in context.
internal/event/event.go:131
↓ 3 callers
Function
GetAuthToken
(r *http.Request)
ctx/ctx.go:85
↓ 3 callers
Function
GetCiphers
GetCiphers generates a list of CipherSuite from the available ciphers.
internal/crypto/ciphers.go:54
← previous
next →
1,501–1,600 of 9,242, ranked by callers