Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
25
type
Future
interface
{
26
Result() (string, error)
27
}
28
29
type
InnerFuture
struct
{
30
once sync.Once
Callers
8
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
Implementers
1
InnerFuture
ch04/future.go
Calls
no outgoing calls
Tested by
no test coverage detected