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
Get
Get returns a tracer stored on the global trace manager.
trace/manager.go:81
↓ 4 callers
Method
Get
Get will retrieve the allowance from storage.
internal/rate/model/interfaces.go:20
↓ 4 callers
Method
GetCacheTimeoutSeconds
GetCacheTimeoutSeconds returns the cache timeout in seconds, using the default expiration if CacheTimeout is zero or negative.
apidef/api_definitions.go:797
↓ 4 callers
Function
GetImporterForSource
(source APIImporterSource)
apidef/importer/importer.go:22
↓ 4 callers
Method
GetListRange
GetListRange gets range of elements of list identified by keyName
storage/redis_cluster.go:757
↓ 4 callers
Method
GetPolicies
(orgId string)
gateway/rpc_storage_handler.go:125
↓ 4 callers
Method
GetRaw
(certID string)
certs/manager.go:47
↓ 4 callers
Method
GetSet
(string)
storage/storage.go:41
↓ 4 callers
Method
GetSet
(keyName string)
storage/redis_cluster.go:800
↓ 4 callers
Method
GetSortedSetRange
GetSortedSetRange gets range of elements of sorted set identified by keyName
storage/redis_cluster.go:1014
↓ 4 callers
Function
GetUpstreamAuth
GetUpstreamAuth returns the header name to be used for upstream authentication.
internal/service/core/context.go:31
↓ 4 callers
Function
GetValidationOptionsFromConfig
GetValidationOptionsFromConfig retrieves validation options based on the configuration settings.
apidef/oas/oas.go:796
↓ 4 callers
Method
HandleEvent
HandleEvent will be fired when the event handler instance is found in an APISpec EventPaths object during a request chain
gateway/event_handler_webhooks.go:267
↓ 4 callers
Method
HandleEvent
(EventMessage)
config/config.go:1432
↓ 4 callers
Method
HandleResponse
(http.ResponseWriter, *http.Response, *http.Request, *user.SessionState)
gateway/middleware.go:713
↓ 4 callers
Method
HasFireEventCooldown
HasFireEventCooldown checks if a fire event cooldown exists for the specified identifier.
internal/certcheck/cache.go:122
↓ 4 callers
Function
Hc
(a)
templates/playground/playground.js:1290
↓ 4 callers
Function
Hf
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Method
HostAddrs
HostAddrs returns a sanitized list of hosts to connect to.
config/util.go:89
↓ 4 callers
Method
Init
(handlerConf interface{})
gateway/coprocess_events.go:26
↓ 4 callers
Method
Init
Init initializes the AuthORWrapper middleware
gateway/mw_auth_or_wrapper.go:251
↓ 4 callers
Function
InitTestMain
(ctx context.Context, m *testing.M)
gateway/testutil.go:241
↓ 4 callers
Method
IsBasicAuth
IsBasicAuth returns whether the key is basic auth or not.
user/session.go:514
↓ 4 callers
Method
IsCertificateStoreConfig
IsCertificateStoreConfig returns true if the configuration uses certificate store.
config/external_service.go:134
↓ 4 callers
Method
IsFileBasedConfig
IsFileBasedConfig returns true if the configuration uses file-based certificates.
config/external_service.go:129
↓ 4 callers
Function
IsGrpcStreaming
IsGrpcStreaming returns true if the request designates gRPC streaming.
internal/httputil/streaming.go:15
↓ 4 callers
Function
IsHashType
(t string)
user/session.go:26
↓ 4 callers
Method
IsMemberOfSet
(keyName, value string)
storage/redis_cluster.go:853
↓ 4 callers
Method
IsModified
IsModified will return true if session has been modified to trigger an update.
user/session.go:333
↓ 4 callers
Function
Je
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
Jj
(a)
templates/playground/playground.js:1311
↓ 4 callers
Function
Kf
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Function
Lg
(a,b,c,d,e,f,g)
templates/playground/playground.js:1290
↓ 4 callers
Method
LoadFrom
(io.Reader)
apidef/importer/importer.go:14
↓ 4 callers
Function
LocalDialer
LocalDialer provides a function to use to dial to localhost
test/http_client.go:77
↓ 4 callers
Function
Log
Log tries to check if there is a span in ctx and adds logs fields on the span.
trace/log.go:37
↓ 4 callers
Function
M
(a,b,c)
templates/playground/playground.js:1319
↓ 4 callers
Function
Match
Match is the same as regexp.Match but returns cached result instead.
regexp/regexp.go:88
↓ 4 callers
Function
Mg
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Method
MigrateCachePlugin
()
apidef/migration.go:347
↓ 4 callers
Method
Mock
(fn func(mock *oas.MockResponse))
internal/oasbuilder/builder.go:283
↓ 4 callers
Function
MustCompilePOSIX
MustCompilePOSIX is the same as regexp.MustCompilePOSIX but returns cached *Regexp instead.
regexp/regexp.go:70
↓ 4 callers
Function
New
(msg string, opts ...Option)
pkg/errpack/errpack.go:29
↓ 4 callers
Function
New
(opts []Option[O])
common/option/option.go:11
↓ 4 callers
Function
NewAllowance
NewAllowance creates a new allowance with the update delay (in seconds).
internal/rate/model/allowance.go:23
↓ 4 callers
Function
NewAllowanceFromMap
NewAllowanceFromMap will scan the `in` parameter and convert it to *Allowance.
internal/rate/model/allowance.go:30
↓ 4 callers
Function
NewGraphQLEngineTransport
( transportType GraphQLEngineTransportType, originalTransport http.RoundTripper, newReusableBodyReadCloser
internal/graphengine/transport.go:19
↓ 4 callers
Function
NewJanitor
NewJanitor returns a new Janitor that performs cleanup at the specified interval.
internal/cache/janitor.go:16
↓ 4 callers
Function
NewJob
NewJob creates and returns a new Job with the specified name, task function, and interval.
internal/scheduler/scheduler.go:27
↓ 4 callers
Function
NewMdcbStorage
(local, rpc Handler, log *logrus.Entry, OnRPCCertPull func(key string, val string) error)
storage/mdcb_storage.go:24
↓ 4 callers
Function
NewMockCertificateManager
NewMockCertificateManager creates a new mock instance.
certs/mock/mock.go:34
↓ 4 callers
Function
NewMockRPCDataLoader
NewMockRPCDataLoader creates a new mock instance.
internal/policy/store_mock.gen.go:31
↓ 4 callers
Function
NewScheduler
NewScheduler creates and returns a new Scheduler with the specified logger.
internal/scheduler/scheduler.go:45
↓ 4 callers
Function
NewStorage
NewStorage provides a redis v9 client for rate limiter use.
internal/rate/storage.go:15
↓ 4 callers
Function
NewStreamAnalyticsResponseWriter
(logger *logrus.Entry, w http.ResponseWriter, r *http.Request, streamID string, recorder streams.StreamAnalyti
gateway/analytics_streams.go:125
↓ 4 callers
Function
NewTestEngine
(t *testing.T)
internal/graphengine/engine_v3_test.go:18
↓ 4 callers
Function
Ni
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Method
OrgSession
(orgID string)
gateway/middleware.go:346
↓ 4 callers
Function
Pa
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
ParseRSAPublicKey
(data []byte)
gateway/mw_jwt.go:1156
↓ 4 callers
Function
ParseServerUrl
ParseServerUrl Url template e.g. "{subdomain:[a-z]+}.example.com" or "api.example.com"
internal/oasutil/servers.go:70
↓ 4 callers
Function
Pc
(a,b)
templates/playground/playground.js:1290
↓ 4 callers
Function
Pi
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callers
Function
Pj
()
templates/playground/playground.js:1290
↓ 4 callers
Function
PrintOperationType
(operationType ast.OperationType)
internal/graphql/otel_graphql_engine_detailed.go:183
↓ 4 callers
Method
Publish
(channel, message string)
storage/redis_cluster.go:652
↓ 4 callers
Method
Publish
(channel, message string)
gateway/rpc_storage_handler.go:631
↓ 4 callers
Function
PyUnicode_FromString
(u *C.char)
dlpython/binding.go:122
↓ 4 callers
Function
Qc
(a)
templates/playground/playground.js:1311
↓ 4 callers
Function
Qh
(a)
templates/playground/playground.js:1290
↓ 4 callers
Method
Register
(ctx context.Context)
gateway/dashboard_register.go:27
↓ 4 callers
Method
RemoveAccess
RemoveAccess will remove access data from Redis
gateway/oauth_manager.go:1067
↓ 4 callers
Method
RemoveFromList
RemoveFromList delete an value from a list idetinfied with the keyName
storage/redis_cluster.go:733
↓ 4 callers
Method
RemoveFromSet
(string, string)
storage/storage.go:44
↓ 4 callers
Method
RemoveRefresh
RemoveRefresh will remove a refresh token from redis
gateway/oauth_manager.go:1110
↓ 4 callers
Method
RemoveServer
RemoveServer removes the server from the server list if it's already present. It accepts regex-based server URLs, such as https://{subdomain:[a-z]+}.e
apidef/oas/oas.go:423
↓ 4 callers
Method
RemoveSortedSetRange
(string, string, string)
storage/storage.go:49
↓ 4 callers
Method
RemoveSortedSetRange
RemoveSortedSetRange removes range of elements from sorted set identified by keyName
storage/redis_cluster.go:1050
↓ 4 callers
Method
ReplaceAllLiteralString
ReplaceAllLiteralString is the same as regexp.Regexp.ReplaceAllLiteralString but returns cached result instead.
regexp/regexp.go:198
↓ 4 callers
Function
ResetEmergencyMode
()
rpc/rpc_client.go:193
↓ 4 callers
Method
RunExt
TODO:(gernest) when hot reload is supported enable this.
gateway/testutil.go:1395
↓ 4 callers
Function
Sb
(a,b)
templates/playground/playground.js:1311
↓ 4 callers
Method
Sessions
(filter string)
gateway/auth_manager.go:25
↓ 4 callers
Method
Set
Set will write the allowance to storage.
internal/rate/model/interfaces.go:23
↓ 4 callers
Method
SetAnalyticsFactory
(factory StreamAnalyticsFactory)
ee/middleware/streams/middleware.go:302
↓ 4 callers
Method
SetCheckCooldown
SetCheckCooldown sets a check cooldown for the specified identifier.
internal/certcheck/cache.go:99
↓ 4 callers
Method
SetCount
SetCount returns the number of items in the current sliding log window, before adding a new item. The sliding log is trimmed removing older items, and
internal/rate/sliding_log.go:75
↓ 4 callers
Method
SetExpiry
(expiresInSeconds int64)
gateway/host_checker_manager.go:53
↓ 4 callers
Method
SetKey
SetKey assigns a value to a key in DummyStorage with an expiration time; returns nil for success.
storage/dummy.go:178
↓ 4 callers
Method
SetNodeID
SetNodeID writes NodeID safely.
gateway/server.go:348
↓ 4 callers
Method
SetShutdownContext
SetShutdownContext sets the shutdown context from the caller
tcp/tcp.go:139
↓ 4 callers
Method
SpanContext
()
internal/graphql/otel_graphql_engine_detailed_test.go:465
↓ 4 callers
Method
Stop
()
gateway/host_checker.go:428
↓ 4 callers
Method
String
String returns the String output from the allowance store.
internal/rate/smoothing.go:25
↓ 4 callers
Method
String
()
gateway/tracing.go:69
↓ 4 callers
Function
T
(a)
templates/playground/playground.js:1298
↓ 4 callers
Function
Th
()
templates/playground/playground.js:1290
↓ 4 callers
Method
ToAPIDefinition
(string, string, bool)
apidef/importer/importer.go:17
↓ 4 callers
Method
TykOsinNewServer
TykOsinNewServer creates a new server instance, but uses an extended interface so we can SetClient() too.
gateway/oauth_manager.go:576
↓ 4 callers
Method
Type
()
internal/graphql/otel_graphql_engine_detailed_test.go:416
← previous
next →
1,201–1,300 of 9,242, ranked by callers