MCPcopy
hub / github.com/syncthing/syncthing / ServiceWithError

Interface ServiceWithError

lib/svcutil/svcutil.go:97–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97type ServiceWithError interface {
98 suture.Service
99 fmt.Stringer
100 Error() error
101}
102
103// AsService wraps the given function to implement suture.Service. In addition
104// it keeps track of the returned error and allows querying that error.

Callers 4

ErrorMethod · 0.65
ErrorMethod · 0.65
infoEventHookFunction · 0.65
asNonContextErrorFunction · 0.65

Implementers 15

relayListenerlib/connections/relay_listen.go
FatalErrlib/svcutil/svcutil.go
noRestartErrlib/svcutil/svcutil.go
servicelib/svcutil/svcutil.go
lookupErrorlib/discover/global.go
errorHolderlib/discover/global.go
localClientlib/discover/local.go
managerlib/discover/manager.go
fakeDiscoverylib/discover/cache_test.go
slowDiscoverylib/discover/cache_test.go
Managerlib/discover/mocks/manager.go
Applib/syncthing/syncthing.go

Calls

no outgoing calls

Tested by

no test coverage detected