Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Shopify/goose
/ functions
Functions
660 in github.com/Shopify/goose
⨍
Functions
660
◇
Types & classes
129
Method
BeforeRequest
(r *http.Request)
srvutil/metrics_observer.go:21
Function
BenchmarkBufferFullSmallReads
Check that we don't compact too often. From Issue 5154.
syncio/buffer_test.go:631
Function
BenchmarkBufferNotEmptyWriteRead
From Issue 5154.
syncio/buffer_test.go:618
Function
BenchmarkCond1
(b *testing.B)
cond/cond_test.go:460
Function
BenchmarkCond16
(b *testing.B)
cond/cond_test.go:476
Function
BenchmarkCond2
(b *testing.B)
cond/cond_test.go:464
Function
BenchmarkCond32
(b *testing.B)
cond/cond_test.go:480
Function
BenchmarkCond4
(b *testing.B)
cond/cond_test.go:468
Function
BenchmarkCond8
(b *testing.B)
cond/cond_test.go:472
Function
BenchmarkHook_Fire
(b *testing.B)
logrusbugsnag/bugsnag_test.go:56
Function
BenchmarkLimiter
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
Function
BenchmarkReadString
(b *testing.B)
syncio/buffer_test.go:459
Function
BenchmarkWriteByte
(b *testing.B)
syncio/buffer_test.go:592
Function
BenchmarkWriteRune
(b *testing.B)
syncio/buffer_test.go:604
Method
Bool
(_ string, d bool, _ string)
profiler/ui.go:111
Method
BoolVar
(p *bool, _ string, d bool, _ string)
profiler/ui.go:130
Method
Cause
()
logger/logger.go:12
Method
Cmd
()
shell/supervisor.go:27
Function
Configured
()
bugsnag/bugsnag.go:34
Method
Count
(_ context.Context, name string, value int64, tags []string, rate float64)
statsd/datadog_backend.go:46
Method
Count
(ctx context.Context, name string, value int64, tags []string, rate float64)
statsd/forwarding_backend.go:25
Method
Count
Count provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:16
Method
CountUnique
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
Method
CreateBugsnagTab
()
bugsnag/bugsnagger_test.go:184
Method
Decr
Decr is basically the same as Count(-1)
statsd/counter.go:24
Method
Dependencies
()
genmain/component.go:27
Method
Dependencies
()
genmain/genmain_test.go:74
Method
Distribution
The last parameter is an arbitrary array of tags as maps.
statsd/distribution.go:10
Method
Distribution
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:54
Method
Distribution
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:33
Method
Distribution
Distribution provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:30
Method
Duration
(previous interface{}, desired interface{})
statetracker/tracker.go:43
Method
End
()
profiler/profiler.go:55
Method
End
()
profiler/profiler.go:83
Method
End
()
profiler/profiler.go:103
Method
Error
()
logrussplunk/splunk.go:46
Method
ErrorClass
()
bugsnag/with_class.go:45
Function
ExampleBuilder_WithEnv
()
shell/shell_test.go:51
Function
ExampleEnvVarHeaderMiddleware
()
srvutil/env_var_middleware_test.go:16
Function
ExampleHandlerServlet
()
srvutil/servlet_test.go:39
Function
ExampleNew
()
lockmap/map_test.go:12
Function
ExampleNewProfiler
()
profiler/profiler_test.go:5
Function
ExampleNewServer
()
srvutil/server_test.go:22
Function
ExampleRealIPMiddleware
()
srvutil/real_ip_test.go:15
Function
ExampleSupervisor_RunAndGetOutput
()
shell/shell_test.go:37
Function
ExampleSupervisor_Wait
()
shell/shell_test.go:17
Function
ExampleWatchingLoggable
()
logger/loggable_test.go:48
Function
ExampleWatchingTaggable
()
statsd/taggable_test.go:35
Function
ExampleWithField
()
logger/loggable_test.go:12
Function
ExampleWithFields
()
logger/loggable_test.go:26
Function
ExampleWithTags
()
statsd/taggable_test.go:22
Method
ExtraUsage
()
profiler/ui.go:109
Method
Finish
(ts ...Tags)
statsd/timer.go:49
Method
Finish
()
timetracker/tracker.go:15
Method
Fire
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
Method
Fire
Fire forwards a log entry to Bugsnag.
logrussplunk/splunk.go:88
Method
Float64Var
(p *float64, _ string, d float64, _ string)
profiler/ui.go:138
Method
Format
(s fmt.State, verb rune)
bugsnag/with_class.go:30
Method
Gauge
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:42
Method
Gauge
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
Method
Gauge
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:21
Method
Gauge
Gauge provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:44
Method
Get
()
statetracker/tracker.go:54
Method
Hijack
()
srvutil/metrics_test.go:108
Method
Hijack
Hijack implements the http.Hijacker interface, to allow for e.g. WebSockets.
srvutil/recorder.go:65
Method
Histogram
The last parameter is an arbitrary array of tags as maps.
statsd/histogram.go:10
Method
Histogram
(_ context.Context, name string, value float64, tags []string, rate float64)
statsd/datadog_backend.go:50
Method
Histogram
(ctx context.Context, name string, value float64, tags []string, rate float64)
statsd/forwarding_backend.go:29
Method
Histogram
Histogram provides a mock function with given fields: ctx, name, value, tags, rate
statsd/mocks/Backend.go:58
Method
Incr
Incr is basically the same as Count(1)
statsd/counter.go:19
Method
Int63
()
random/source_mock.go:20
Method
Int63
()
random/static.go:19
Method
IntVar
(p *int, _ string, d int, _ string)
profiler/ui.go:134
Method
IsTerminal
()
profiler/ui.go:175
Method
Levels
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
Method
Levels
Levels enumerates the log levels on which this hook will receive `Fire` events from logrus.
logrussplunk/splunk.go:190
Function
LogErrorBody
(statusCode int)
srvutil/recorder.go:12
Method
LogFields
()
shell/shell.go:70
Method
LogFields
()
logger/logger_test.go:37
Method
LogFields
()
logger/loggable_test.go:44
Method
LogFields
()
logger/loggable_test.go:155
Method
LookupAddr
(ctx context.Context, addr string)
resolver/timeout_resolver.go:77
Method
LookupAddr
(ctx context.Context, addr string)
resolver/resolver_mock.go:84
Method
LookupAddr
(ctx context.Context, addr string)
resolver/retry_resolver.go:129
Method
LookupAddr
(ctx context.Context, addr string)
resolver/metric_resolver.go:64
Method
LookupAddr
(ctx context.Context, addr string)
resolver/shuffle_resolver.go:79
Method
LookupCNAME
(ctx context.Context, host string)
resolver/timeout_resolver.go:42
Method
LookupCNAME
(ctx context.Context, host string)
resolver/resolver_mock.go:44
Method
LookupCNAME
(ctx context.Context, host string)
resolver/retry_resolver.go:89
Method
LookupCNAME
(ctx context.Context, host string)
resolver/metric_resolver.go:39
Method
LookupCNAME
(ctx context.Context, host string)
resolver/shuffle_resolver.go:43
Method
LookupHost
(ctx context.Context, host string)
resolver/timeout_resolver.go:21
Method
LookupHost
(ctx context.Context, host string)
resolver/resolver_mock.go:20
Method
LookupHost
(ctx context.Context, host string)
resolver/retry_resolver.go:65
Method
LookupHost
(ctx context.Context, host string)
resolver/metric_resolver.go:24
Method
LookupHost
(ctx context.Context, host string)
resolver/shuffle_resolver.go:23
Method
LookupIPAddr
(ctx context.Context, host string)
resolver/timeout_resolver.go:28
Method
LookupIPAddr
(ctx context.Context, host string)
resolver/resolver_mock.go:28
Method
LookupIPAddr
(ctx context.Context, host string)
resolver/retry_resolver.go:73
Method
LookupIPAddr
(ctx context.Context, host string)
resolver/metric_resolver.go:29
← previous
next →
301–400 of 660, ranked by callers