MCPcopy Create free account

hub / github.com/Shopify/goose / functions

Functions660 in github.com/Shopify/goose

MethodBeforeRequest
(r *http.Request)
srvutil/metrics_observer.go:21
FunctionBenchmarkBufferFullSmallReads
Check that we don't compact too often. From Issue 5154.
syncio/buffer_test.go:631
FunctionBenchmarkBufferNotEmptyWriteRead
From Issue 5154.
syncio/buffer_test.go:618
FunctionBenchmarkCond1
(b *testing.B)
cond/cond_test.go:460
FunctionBenchmarkCond16
(b *testing.B)
cond/cond_test.go:476
FunctionBenchmarkCond2
(b *testing.B)
cond/cond_test.go:464
FunctionBenchmarkCond32
(b *testing.B)
cond/cond_test.go:480
FunctionBenchmarkCond4
(b *testing.B)
cond/cond_test.go:468
FunctionBenchmarkCond8
(b *testing.B)
cond/cond_test.go:472
FunctionBenchmarkHook_Fire
(b *testing.B)
logrusbugsnag/bugsnag_test.go:56
FunctionBenchmarkLimiter
concurrency_0-8 1000000 1891 ns/op concurrency_1-8 432932 3447 ns/op concurrency_10-8 650433 5317 ns/
concurrency/limiter_test.go:18
FunctionBenchmarkReadString
(b *testing.B)
syncio/buffer_test.go:459
FunctionBenchmarkWriteByte
(b *testing.B)
syncio/buffer_test.go:592
FunctionBenchmarkWriteRune
(b *testing.B)
syncio/buffer_test.go:604
MethodBool
(_ string, d bool, _ string)
profiler/ui.go:111
MethodBoolVar
(p *bool, _ string, d bool, _ string)
profiler/ui.go:130
MethodCause
()
logger/logger.go:12
MethodCmd
()
shell/supervisor.go:27
FunctionConfigured
()
bugsnag/bugsnag.go:34
MethodCount
(_ context.Context, name string, value int64, tags []string, rate float64)
statsd/datadog_backend.go:46
MethodCount
(ctx context.Context, name string, value int64, tags []string, rate float64)
statsd/forwarding_backend.go:25
MethodCount
Count provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:16
MethodCountUnique
CountUnique will count the number of unique elements in a group. The last parameter is an arbitrary array of tags as maps.
statsd/set_counter.go:12
MethodCreateBugsnagTab
()
bugsnag/bugsnagger_test.go:184
MethodDecr
Decr is basically the same as Count(-1)
statsd/counter.go:24
MethodDependencies
()
genmain/component.go:27
MethodDependencies
()
genmain/genmain_test.go:74
MethodDistribution
The last parameter is an arbitrary array of tags as maps.
statsd/distribution.go:10
MethodDistribution
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:54
MethodDistribution
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:33
MethodDistribution
Distribution provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:30
MethodDuration
(previous interface{}, desired interface{})
statetracker/tracker.go:43
MethodEnd
()
profiler/profiler.go:55
MethodEnd
()
profiler/profiler.go:83
MethodEnd
()
profiler/profiler.go:103
MethodError
()
logrussplunk/splunk.go:46
MethodErrorClass
()
bugsnag/with_class.go:45
FunctionExampleBuilder_WithEnv
()
shell/shell_test.go:51
FunctionExampleEnvVarHeaderMiddleware
()
srvutil/env_var_middleware_test.go:16
FunctionExampleHandlerServlet
()
srvutil/servlet_test.go:39
FunctionExampleNew
()
lockmap/map_test.go:12
FunctionExampleNewProfiler
()
profiler/profiler_test.go:5
FunctionExampleNewServer
()
srvutil/server_test.go:22
FunctionExampleRealIPMiddleware
()
srvutil/real_ip_test.go:15
FunctionExampleSupervisor_RunAndGetOutput
()
shell/shell_test.go:37
FunctionExampleSupervisor_Wait
()
shell/shell_test.go:17
FunctionExampleWatchingLoggable
()
logger/loggable_test.go:48
FunctionExampleWatchingTaggable
()
statsd/taggable_test.go:35
FunctionExampleWithField
()
logger/loggable_test.go:12
FunctionExampleWithFields
()
logger/loggable_test.go:26
FunctionExampleWithTags
()
statsd/taggable_test.go:22
MethodExtraUsage
()
profiler/ui.go:109
MethodFinish
(ts ...Tags)
statsd/timer.go:49
MethodFinish
()
timetracker/tracker.go:15
MethodFire
Fire forwards an error to Bugsnag. Given a logrus.Entry, it extracts the "error" field (or the Message if the error isn't present) and sends it off.
logrusbugsnag/bugsnag.go:55
MethodFire
Fire forwards a log entry to Bugsnag.
logrussplunk/splunk.go:88
MethodFloat64Var
(p *float64, _ string, d float64, _ string)
profiler/ui.go:138
MethodFormat
(s fmt.State, verb rune)
bugsnag/with_class.go:30
MethodGauge
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:42
MethodGauge
Gauge takes a float64 and sets the indicated gauge in statsd to this value. The last parameter is an arbitrary array of tags as maps.
statsd/gaugor.go:12
MethodGauge
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:21
MethodGauge
Gauge provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:44
MethodGet
()
statetracker/tracker.go:54
MethodHijack
()
srvutil/metrics_test.go:108
MethodHijack
Hijack implements the http.Hijacker interface, to allow for e.g. WebSockets.
srvutil/recorder.go:65
MethodHistogram
The last parameter is an arbitrary array of tags as maps.
statsd/histogram.go:10
MethodHistogram
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:50
MethodHistogram
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:29
MethodHistogram
Histogram provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:58
MethodIncr
Incr is basically the same as Count(1)
statsd/counter.go:19
MethodInt63
()
random/source_mock.go:20
MethodInt63
()
random/static.go:19
MethodIntVar
(p *int, _ string, d int, _ string)
profiler/ui.go:134
MethodIsTerminal
()
profiler/ui.go:175
MethodLevels
Levels enumerates the log levels on which the error should be forwarded to bugsnag: everything at or above the "Error" level.
logrusbugsnag/bugsnag.go:150
MethodLevels
Levels enumerates the log levels on which this hook will receive `Fire` events from logrus.
logrussplunk/splunk.go:190
FunctionLogErrorBody
(statusCode int)
srvutil/recorder.go:12
MethodLogFields
()
shell/shell.go:70
MethodLogFields
()
logger/logger_test.go:37
MethodLogFields
()
logger/loggable_test.go:44
MethodLogFields
()
logger/loggable_test.go:155
MethodLookupAddr
(ctx context.Context, addr string)
resolver/timeout_resolver.go:77
MethodLookupAddr
(ctx context.Context, addr string)
resolver/resolver_mock.go:84
MethodLookupAddr
(ctx context.Context, addr string)
resolver/retry_resolver.go:129
MethodLookupAddr
(ctx context.Context, addr string)
resolver/metric_resolver.go:64
MethodLookupAddr
(ctx context.Context, addr string)
resolver/shuffle_resolver.go:79
MethodLookupCNAME
(ctx context.Context, host string)
resolver/timeout_resolver.go:42
MethodLookupCNAME
(ctx context.Context, host string)
resolver/resolver_mock.go:44
MethodLookupCNAME
(ctx context.Context, host string)
resolver/retry_resolver.go:89
MethodLookupCNAME
(ctx context.Context, host string)
resolver/metric_resolver.go:39
MethodLookupCNAME
(ctx context.Context, host string)
resolver/shuffle_resolver.go:43
MethodLookupHost
(ctx context.Context, host string)
resolver/timeout_resolver.go:21
MethodLookupHost
(ctx context.Context, host string)
resolver/resolver_mock.go:20
MethodLookupHost
(ctx context.Context, host string)
resolver/retry_resolver.go:65
MethodLookupHost
(ctx context.Context, host string)
resolver/metric_resolver.go:24
MethodLookupHost
(ctx context.Context, host string)
resolver/shuffle_resolver.go:23
MethodLookupIPAddr
(ctx context.Context, host string)
resolver/timeout_resolver.go:28
MethodLookupIPAddr
(ctx context.Context, host string)
resolver/resolver_mock.go:28
MethodLookupIPAddr
(ctx context.Context, host string)
resolver/retry_resolver.go:73
MethodLookupIPAddr
(ctx context.Context, host string)
resolver/metric_resolver.go:29
← previousnext →301–400 of 660, ranked by callers