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
↓ 2 callers
Method
extractUserID
(fields log.Fields)
bugsnag/bugsnagger.go:141
↓ 2 callers
Method
getLogTab
()
bugsnag/bugsnagdata_test.go:40
↓ 2 callers
Method
getTab
(label string)
bugsnag/bugsnagdata_test.go:69
↓ 2 callers
Method
getUser
()
bugsnag/bugsnagdata_test.go:60
↓ 2 callers
Function
isDead
(t *tomb.Tomb)
genmain/genmain.go:104
↓ 2 callers
Function
recoverError
(e interface{})
bugsnag/bugsnagger.go:185
↓ 2 callers
Function
replaceMatchableParts
replaceMatchableParts replaces mux templates "/{name:[a-z]+}" with "/hello/@name" to be tag-friendly Works with: /{name} /{name:[a-z]+} /{name:(?:
srvutil/request.go:104
↓ 2 callers
Function
setup
(record bool)
logrusbugsnag/bugsnag_test.go:33
↓ 2 callers
Function
triggerError
(l *logrus.Logger, err error)
logrusbugsnag/bugsnag_test.go:142
↓ 2 callers
Method
updateUserID
(user *bugsnaggo.User, userID string)
bugsnag/bugsnagger.go:149
↓ 2 callers
Method
waitChan
waitChan will wait for a signal or bail if ch is emitted. Requires L to be locked. Returns whether it received the signal.
cond/cond.go:72
↓ 2 callers
Function
withShuffle
(t *testing.T, fn func(m *mockResolver, r Resolver))
resolver/shuffle_resolver_test.go:13
↓ 1 callers
Function
AddSensitiveSubstring
(substrings ...string)
redact/redact.go:18
↓ 1 callers
Method
AfterRequest
(*http.Request, HTTPRecorder, time.Duration)
srvutil/metrics_observer.go:16
↓ 1 callers
Function
AutoNotify
(rawData ...interface{})
bugsnag/bugsnag.go:22
↓ 1 callers
Method
AutoNotify
AutoNotify when deferred, records a panic to Bugsnag and exits the program
bugsnag/bugsnagger.go:168
↓ 1 callers
Method
BeforeRequest
(*http.Request)
srvutil/metrics_observer.go:15
↓ 1 callers
Method
Cause
()
bugsnag/with_class.go:26
↓ 1 callers
Method
CreateBugsnagTab
()
bugsnag/bugsnag.go:13
↓ 1 callers
Method
Dependencies
()
genmain/component.go:15
↓ 1 callers
Method
Duration
Duration takes a time.Duration -- the time to complete the indicated operation -- and submits it to statsd. The last parameter is an arbitrary array
statsd/timer.go:17
↓ 1 callers
Method
Duration
Duration takes a time.Duration -- the time the operation took -- and submits it to StatsD.
statsd/timing.go:14
↓ 1 callers
Method
ErrorClass
()
bugsnag/with_class.go:14
↓ 1 callers
Method
Float64
(_ string, d float64, _ string)
profiler/ui.go:119
↓ 1 callers
Method
Gauge
(ctx context.Context, n float64, ts ...statsd.Tags)
concurrency/limiter.go:33
↓ 1 callers
Function
Go
Go executes a supplied function and recovers from any panics that happen, logging those panics with a severity sufficient to push them to whatever err
safely/safely.go:14
↓ 1 callers
Method
Int
(_ string, d int, _ string)
profiler/ui.go:115
↓ 1 callers
Function
IsNotFound
(err error)
resolver/resolver.go:34
↓ 1 callers
Method
Kill
(signal syscall.Signal)
shell/supervisor.go:117
↓ 1 callers
Method
Kill
Kill will terminate all running components with a given reason
genmain/genmain.go:114
↓ 1 callers
Method
Len
()
shell/shell_test.go:81
↓ 1 callers
Function
NewBackend
NewBackend returns the appropriate Backend for the given implementation and host. STATSD_DEFAULT_TAGS env variable will be read automatically and adde
statsd/statsd.go:51
↓ 1 callers
Function
NewDefaultBuilder
(ctx context.Context, path string, args ...string)
shell/shell.go:25
↓ 1 callers
Function
NewDummySource
NewDummySource returns a rand.Source seeded with 0.
random/dummy.go:11
↓ 1 callers
Function
NewLimiterWithGauge
(concurrency uint, gauge gaugor, tags statsd.Tags)
concurrency/limiter.go:51
↓ 1 callers
Method
NewListener
()
statetracker/tracker.go:22
↓ 1 callers
Function
NewMockSource
NewMockSource returns a mocked rand.Source. Configure each call before using.
random/source_mock.go:12
↓ 1 callers
Function
NewMockThrottler
(run bool)
concurrency/throttler_mock.go:11
↓ 1 callers
Function
NewMockTracker
(stubStart bool)
timetracker/tracker_mock.go:9
↓ 1 callers
Function
NewProfiler
(cpuFile string, memoryFile string)
profiler/profiler.go:20
↓ 1 callers
Function
NewSampledGauge
(gauge gaugor, sampling int32, tags statsd.Tags)
concurrency/limiter.go:59
↓ 1 callers
Function
NewSeeded
NewSeeded returns a seeded rand.Rand.
random/seeded.go:6
↓ 1 callers
Function
NewSeededSource
NewSeededSource returns a seeded rand.Source, just like the rand package. Provided for API completeness
random/seeded.go:12
↓ 1 callers
Function
NewServlet
NewServlet returns a Servlet which can serve pprof requests debug/pprof/ is the homepage debug/pprof/ui/ is the same homepage, but where all links po
profiler/servlet.go:19
↓ 1 callers
Function
NewStatic
NewStatic returns a rand.Rand that always returns the seeded value. Useful for tests.
random/static.go:6
↓ 1 callers
Function
NewStaticSource
NewStaticSource returns a rand.Source that always returns the seeded value. Useful for tests.
random/static.go:11
↓ 1 callers
Function
NewStatsPage
(dbConn dbConn)
srvutil/servlet_test.go:21
↓ 1 callers
Function
NewThrottler
(limiter Limiter, tracker timetracker.Tracker, waitTimeout time.Duration)
concurrency/throttler.go:11
↓ 1 callers
Function
NewTimeoutResolver
(lookup Resolver, timeout time.Duration)
resolver/timeout_resolver.go:14
↓ 1 callers
Function
Notify
These define the static APIs which can be accessed directly from the bugsnag package
bugsnag/bugsnag.go:18
↓ 1 callers
Method
Parse
(func())
profiler/ui.go:154
↓ 1 callers
Method
Record
(duration time.Duration)
timetracker/ema_tracker.go:28
↓ 1 callers
Method
RemoveListener
(listener <-chan *Notification)
statetracker/tracker.go:23
↓ 1 callers
Function
RequestContextMiddleware
RequestContextMiddleware can be used with github.com/gorilla/mux:Router.Use or wrapping a Handler
srvutil/request.go:88
↓ 1 callers
Method
Run
()
shell/supervisor.go:21
↓ 1 callers
Method
Run
()
shell/supervisor.go:35
↓ 1 callers
Method
SetTags
(ts ...Tags)
statsd/timer.go:39
↓ 1 callers
Function
Setup
(apiKey string, commit string, env string, packages []string)
bugsnag/bugsnag.go:30
↓ 1 callers
Method
Setup
Setup initializes the bugsnag client with the given API key, commit, environment, and packages. By default, it will use the endpoints for Shopify inte
bugsnag/bugsnagger.go:228
↓ 1 callers
Method
Start
()
shell/supervisor.go:31
↓ 1 callers
Method
Start
()
timetracker/tracker.go:8
↓ 1 callers
Function
ThrottlerMiddleware
(th Throttler)
concurrency/throttler_middleware.go:9
↓ 1 callers
Function
TombGo
TombGo is the compose of Go and tomb.Go. Unlike Go though, the supplied function must return an error, because that's what tomb expects.
safely/safely.go:41
↓ 1 callers
Method
Wait
()
shell/supervisor.go:54
↓ 1 callers
Method
WithOSEnv
()
shell/builder.go:14
↓ 1 callers
Method
WithSysProcAttr
(attr *syscall.SysProcAttr)
shell/builder.go:17
↓ 1 callers
Function
WithTaggable
WithTaggable attaches a Taggable's tags to a Context. When a metric is recorded, those tags will be appended.
statsd/taggable.go:74
↓ 1 callers
Method
WithWorkingDir
(dir string)
shell/builder.go:16
↓ 1 callers
Function
Wrapf
Wrapf acts like errors.Wrapf except it also sets the error class to be equal to the message
bugsnag/with_class.go:63
↓ 1 callers
Method
acquire
(ctx context.Context)
concurrency/limiter.go:88
↓ 1 callers
Function
buildRouteContext
Use route and vars to add to context Example: hello/{name}, with name=world route: /hello/@name route_name: world
srvutil/request.go:32
↓ 1 callers
Method
cancelWait
()
cond/cond.go:86
↓ 1 callers
Function
defaultHeaders
()
srvutil/security.go:7
↓ 1 callers
Function
dependencies
(component Component)
genmain/genmain.go:74
↓ 1 callers
Function
findLogrusExit
()
logrusbugsnag/bugsnag.go:110
↓ 1 callers
Function
findPanic
()
logrusbugsnag/bugsnag.go:132
↓ 1 callers
Method
formatError
(err error)
bugsnag/bugsnagger.go:113
↓ 1 callers
Method
hasValue
(data interface{})
bugsnag/bugsnagdata_test.go:80
↓ 1 callers
Function
inverseDependencies
(components []Component)
genmain/genmain.go:82
↓ 1 callers
Function
isReadyToKill
(inverse map[Component][]Component, component Component)
genmain/genmain.go:92
↓ 1 callers
Function
newTestComponent
()
genmain/genmain_test.go:22
↓ 1 callers
Function
newUUID
()
logger/uuid.go:22
↓ 1 callers
Method
nextBatch
()
logrussplunk/splunk.go:173
↓ 1 callers
Method
processLogEntry
(entry *log.Entry)
bugsnag/bugsnagger.go:136
↓ 1 callers
Function
removeFile
(ctx context.Context, path string)
profiler/ui.go:94
↓ 1 callers
Function
restoreStatsdTagsValue
()
statsd/default_tags_test.go:49
↓ 1 callers
Method
run
(ctx context.Context, fn func() error)
concurrency/limiter.go:95
↓ 1 callers
Function
serveUI
(ctx context.Context, w http.ResponseWriter, r *http.Request, inputFile string)
profiler/ui.go:70
↓ 1 callers
Function
shouldRetry
(err error)
resolver/retry_resolver.go:28
↓ 1 callers
Method
shutdown
()
lockmap/map.go:119
↓ 1 callers
Method
submitToSplunk
(body *closingByteBuffer)
logrussplunk/splunk.go:150
↓ 1 callers
Method
sweep
()
lockmap/map.go:128
↓ 1 callers
Function
waitAny
(components []Component, deadline <-chan time.Time)
genmain/genmain.go:63
Method
Accept
()
srvutil/server.go:113
Method
AddExtraUsage
(_ string)
profiler/ui.go:107
Method
Addr
()
srvutil/server.go:61
Method
AfterRequest
(r *http.Request, recorder HTTPRecorder, requestDuration time.Duration)
srvutil/metrics_observer.go:30
Function
AutoRecover
(rawData ...interface{})
bugsnag/bugsnag.go:26
Method
Average
()
timetracker/tracker_mock.go:32
Method
Average
()
timetracker/ema_tracker.go:44
← previous
next →
201–300 of 660, ranked by callers