MCPcopy Create free account
hub / github.com/cloud-native-go/examples / Future

Interface Future

ch04/future.go:25–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type Future interface {
26 Result() (string, error)
27}
28
29type InnerFuture struct {
30 once sync.Once

Callers 8

TestAuthenticateFunction · 0.65
TestHandlersFunction · 0.65
TestVerifyNoHeaderFunction · 0.65
TestVerifyInvalidHeaderFunction · 0.65
TestFutureFunction · 0.65
TestFutureGetTwiceFunction · 0.65
TestFutureConcurrentFunction · 0.65
TestFutureTimeoutFunction · 0.65

Implementers 1

InnerFuturech04/future.go

Calls

no outgoing calls

Tested by

no test coverage detected