Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud-native-go/examples
/ Result
Method
Result
ch04/future.go:26–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
24
25
type
Future
interface
{
26
Result() (string, error)
27
}
28
29
type
InnerFuture
struct
{
Callers
9
TestAuthenticate
Function · 0.65
TestHandlers
Function · 0.65
TestVerifyNoHeader
Function · 0.65
TestVerifyInvalidHeader
Function · 0.65
TestFuture
Function · 0.65
TestFutureGetTwice
Function · 0.65
TestFutureConcurrent
Function · 0.65
TestFutureTimeout
Function · 0.65
TestFutureCancel
Function · 0.65
Implementers
1
InnerFuture
ch04/future.go
Calls
no outgoing calls
Tested by
9
TestAuthenticate
Function · 0.52
TestHandlers
Function · 0.52
TestVerifyNoHeader
Function · 0.52
TestVerifyInvalidHeader
Function · 0.52
TestFuture
Function · 0.52
TestFutureGetTwice
Function · 0.52
TestFutureConcurrent
Function · 0.52
TestFutureTimeout
Function · 0.52
TestFutureCancel
Function · 0.52