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
GetToken
(r *http.Request)
ee/middleware/upstreamoauth/provider_password_authentication.go:21
↓ 1 callers
Method
GetToken
(r *http.Request)
ee/middleware/upstreamoauth/provider_client_credentials.go:22
↓ 1 callers
Method
GetToken
GetToken returns the token from cache or issues a request to obtain it from the OAuth provider.
ee/middleware/upstreamoauth/token_cache.go:17
↓ 1 callers
Method
GetUser
GetUser retrieves a Basic Access user token type from the key store
gateway/oauth_manager.go:560
↓ 1 callers
Method
GetWebhookConf
GetWebhookConf converts EventHandler.WebhookEvent apidef.WebHookHandlerConf.
apidef/oas/event.go:159
↓ 1 callers
Function
Gj
()
templates/playground/playground.js:1311
↓ 1 callers
Function
GraphQLError_typeof
(obj)
templates/playground/playground.js:1327
↓ 1 callers
Function
Handle
Handle returns a http.Handler with root opentracting setup. This should be the topmost handler.
trace/handler.go:7
↓ 1 callers
Method
HandleAccess
HandleAccess wraps an access request with osin's primitives
gateway/oauth_manager.go:393
↓ 1 callers
Method
HandleAccessRequest
HandleAccessRequest handles the OAuth 2.0 token or refresh access request, and wraps Tyk's own and Osin's OAuth handlers, returns a response to the cl
gateway/oauth_manager.go:184
↓ 1 callers
Method
HandleGoPluginResponse
(w http.ResponseWriter, res *http.Response, req *http.Request)
gateway/res_handler_go_plugin.go:71
↓ 1 callers
Method
HandleMiddlewareCache
HandleMiddlewareCache is called when a bundle has been loaded and the dispatcher needs to cache its contents. Used by Lua.
coprocess/dispatcher.go:27
↓ 1 callers
Method
HandleResponse
HandleResponse checks if the http.Response argument can be cached and caches it for future requests.
gateway/res_cache.go:57
↓ 1 callers
Method
HandleResponse
(rw http.ResponseWriter, res *http.Response, ses *user.SessionState)
gateway/reverse_proxy.go:1394
↓ 1 callers
Method
HasSchema
()
internal/graphengine/engine.go:30
↓ 1 callers
Function
HasTransferEncoding
HasTransferEncoding returns true if a transfer encoding header is present.
internal/httputil/request.go:16
↓ 1 callers
Function
HashKey
(in string, hashKey bool)
internal/crypto/hash.go:54
↓ 1 callers
Method
HostCheckLoop
(ctx context.Context)
gateway/host_checker.go:104
↓ 1 callers
Method
HostReporter
(ctx context.Context)
gateway/host_checker.go:148
↓ 1 callers
Function
HttpHandlerRunner
(handler http.HandlerFunc)
test/http.go:336
↓ 1 callers
Function
HttpServerRequestBuilder
(baseURL string)
test/http.go:351
↓ 1 callers
Method
Import
Import populates *Token from argument values.
apidef/oas/security.go:48
↓ 1 callers
Method
IncrememntWithExpire
IncrememntWithExpire increments the value of a key and sets an expiry; not yet implemented.
storage/dummy.go:114
↓ 1 callers
Function
Init
Init will initialize the Python runtime.
dlpython/main.go:181
↓ 1 callers
Function
Init
Init returns a tracer for a given name.
trace/trace.go:36
↓ 1 callers
Function
Init
(service string, opts map[string]interface{})
trace/openzipkin/zipkin.go:255
↓ 1 callers
Function
Init
Init returns a implementation of tyk.Tracer using jaeger client.
trace/jaeger/jaeger.go:36
↓ 1 callers
Method
Init
()
internal/model/interfaces.go:25
↓ 1 callers
Method
Init
(c interface{}, spec *APISpec)
gateway/res_handler_go_plugin.go:30
↓ 1 callers
Method
Init
()
gateway/mw_certificate_check.go:32
↓ 1 callers
Method
InitHostCheckManager
(ctx context.Context, store storage.Handler)
gateway/host_checker_manager.go:551
↓ 1 callers
Function
InitTestMain
(_ context.Context, _ *testing.M)
test/init.go:17
↓ 1 callers
Method
Inject
(ctx opentracing.SpanContext, format interface{}, carrier interface{})
trace/openzipkin/zipkin.go:235
↓ 1 callers
Method
InsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, def *apidef.APIDefinition, versionName string)
apidef/importer/swagger.go:137
↓ 1 callers
Method
InsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, apidef *apidef.APIDefinition, versionName string)
apidef/importer/wsdl.go:421
↓ 1 callers
Method
InsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, def *apidef.APIDefinition, versionName string)
apidef/importer/blueprint.go:156
↓ 1 callers
Function
InstrumentationMW
InstrumentationMW will set basic instrumentation events, variables and timers on API jobs
gateway/instrumentation_handlers.go:52
↓ 1 callers
Method
IsCacheEnabled
()
dnscache/manager.go:29
↓ 1 callers
Function
IsZero
IsZero is a customized implementation of reflect.Value.IsZero. The built-in function accepts slice, map and pointer fields having 0 length as not zero
internal/reflect/reflect.go:17
↓ 1 callers
Method
Items
Items copies all unexpired items in the cache into a new map and returns it.
internal/cache/cache.go:90
↓ 1 callers
Function
Ji
(a,b,c)
templates/playground/playground.js:1311
↓ 1 callers
Method
KeyExpired
(newSession *user.SessionState)
gateway/auth_manager.go:24
↓ 1 callers
Function
KnownArgumentNamesOnDirectivesRule
(context)
templates/playground/playground.js:793
↓ 1 callers
Function
LengthRequired
LengthRequired responds with HTTP 411 Length Required. The function is used in places where Content-Length is required.
internal/httputil/response.go:16
↓ 1 callers
Function
Limiter
Limiter returns the appropriate rate limiter as configured by gateway.
internal/rate/limiter.go:11
↓ 1 callers
Function
LimiterKey
LimiterKey returns a redis key name based on passed parameters. The key should be post-fixed if multiple keys are required (sentinel).
internal/rate/limiter.go:35
↓ 1 callers
Function
LimiterKind
LimiterKind returns the kind of rate limiter enabled by config. This function is used for development builds.
internal/rate/rate_dev.go:12
↓ 1 callers
Method
List
(certIDs []string, mode CertificateType)
certs/manager.go:404
↓ 1 callers
Method
ListFeatures
ListFeatures lists all features contained within the given bounding Rectangle.
gateway/grpc_streaming_server_test.go:62
↓ 1 callers
Method
ListPublicKeys
(keyIDs []string)
certs/manager.go:44
↓ 1 callers
Method
ListRawPublicKey
(keyID string)
certs/manager.go:45
↓ 1 callers
Function
Lj
(a)
templates/playground/playground.js:1290
↓ 1 callers
Function
LoadCount
()
rpc/rpc_client.go:181
↓ 1 callers
Function
LoadFile
(tb testing.TB, filename string)
tests/regression/regression_test.go:42
↓ 1 callers
Method
LoadFrom
(r io.Reader)
apidef/importer/wsdl.go:272
↓ 1 callers
Method
LoadIgnoredIPs
()
config/config.go:1529
↓ 1 callers
Method
LoadModules
()
gateway/coprocess_lua.go:205
↓ 1 callers
Function
LoadPoliciesFromDir
(dir string)
gateway/policy.go:92
↓ 1 callers
Function
LoadPoliciesFromFile
(filePath string)
gateway/policy.go:72
↓ 1 callers
Method
LoadRefresh
LoadRefresh will load access data from Redis
gateway/oauth_manager.go:1088
↓ 1 callers
Method
LoadTykJSApi
()
gateway/mw_js_plugin.go:434
↓ 1 callers
Method
Locker
Locker returns a distributed locker, similar to a mutex.
internal/rate/allowance_store.go:78
↓ 1 callers
Method
LogFields
(fields ...opentracinglog.Field)
trace/openzipkin/zipkin.go:53
↓ 1 callers
Method
LogMessage
(prefix string)
gateway/event_system.go:82
↓ 1 callers
Method
LogMessage
(prefix string)
gateway/event_system.go:94
↓ 1 callers
Method
LogMessage
(prefix string)
gateway/event_handler_log.go:11
↓ 1 callers
Method
Logger
Logger creates and returns a logrus Entry with the scheduler prefix.
internal/scheduler/scheduler.go:53
↓ 1 callers
Method
ManualBatchRequest
HandleBatchRequest is the actual http handler for a batch request on an API definition
gateway/batch_requests.go:181
↓ 1 callers
Method
Map
Map returns EndpointsMap of Endpoints using the key format [method:path]. If duplicate entries are found, it would get overwritten with latest entries
user/session.go:530
↓ 1 callers
Method
MarshalJSON
()
gateway/server.go:343
↓ 1 callers
Method
Match
Match returns true if port is within the range
config/config.go:749
↓ 1 callers
Function
MatchPath
MatchPath matches regexp pattern with request endpoint.
internal/httputil/mux.go:112
↓ 1 callers
Function
Me
(a,b)
templates/playground/playground.js:1290
↓ 1 callers
Method
MigrateAuthentication
()
apidef/migration.go:400
↓ 1 callers
Method
MinutesUntilExpiry
MinutesUntilExpiry returns the number of minutes until the certificate expires. This is calculated from the UntilExpiry field for convenience.
internal/certcheck/model.go:35
↓ 1 callers
Method
MonitorApplicationInstrumentation
()
gateway/instrumentation_handlers.go:68
↓ 1 callers
Function
Mount
Mount adds the nrgorilla middleware to the router. The application is added to the request context. If app is nil, nothing will be done and the functi
internal/service/newrelic/newrelic.go:30
↓ 1 callers
Function
MyAnalyticsPluginDeleteHeader
(record *analytics.AnalyticsRecord)
test/goplugins/test_goplugin.go:150
↓ 1 callers
Function
MyAnalyticsPluginDeleteHeader
(record *analytics.AnalyticsRecord)
ci/tests/plugin-compiler/testdata/basic-plugin/test_goplugin.go:150
↓ 1 callers
Function
MyAnalyticsPluginMaskJSONLoginBody
(record *analytics.AnalyticsRecord)
test/goplugins/test_goplugin.go:171
↓ 1 callers
Function
MyAnalyticsPluginMaskJSONLoginBody
(record *analytics.AnalyticsRecord)
ci/tests/plugin-compiler/testdata/basic-plugin/test_goplugin.go:171
↓ 1 callers
Function
MyAuthCheck
(coprocess_object)
coprocess/python/proto/sample_server.py:18
↓ 1 callers
Function
MyAuthCheck
(coprocess_object)
coprocess/bindings/python/sample_server.py:18
↓ 1 callers
Function
MyPostMiddleware
(coprocess_object)
coprocess/python/proto/sample_server.py:14
↓ 1 callers
Function
MyPostMiddleware
(coprocess_object)
coprocess/bindings/python/sample_server.py:14
↓ 1 callers
Function
MyPreMiddleware
(coprocess_object)
coprocess/python/proto/sample_server.py:10
↓ 1 callers
Function
MyPreMiddleware
(coprocess_object)
coprocess/bindings/python/sample_server.py:10
↓ 1 callers
Method
Name
()
tests/streams/scripts/load_gen.go:9
↓ 1 callers
Method
Name
()
gateway/coprocess.go:42
↓ 1 callers
Method
Name
()
gateway/res_handler_go_plugin.go:26
↓ 1 callers
Method
Name
()
gateway/mw_strip_auth.go:17
↓ 1 callers
Method
Name
()
gateway/mw_oauth2_key_exists.go:53
↓ 1 callers
Method
Name
()
gateway/mw_version_check.go:30
↓ 1 callers
Method
Name
()
gateway/mw_auth_key.go:70
↓ 1 callers
Method
Name
Name returns the name for the middleware.
ee/middleware/streams/middleware.go:58
↓ 1 callers
Method
Name
Name returns the name for the middleware.
ee/middleware/upstreambasicauth/middleware.go:44
↓ 1 callers
Method
NativeDispatch
Dispatch takes a CoProcessMessage and sends it to the CP.
gateway/coprocess_lua.go:118
↓ 1 callers
Method
NestedObject
(item *gabs.Container)
gateway/service_discovery.go:132
↓ 1 callers
Function
New
New initializes the in-memory bucket store.
internal/memorycache/storage.go:16
↓ 1 callers
Function
New
()
internal/oasbuilder/builder.go:54
← previous
next →
3,401–3,500 of 9,242, ranked by callers