Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ NewCalculatorHandler
Function
NewCalculatorHandler
tutorial/go/src/handler.go:35–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
33
}
34
35
func
NewCalculatorHandler() *CalculatorHandler {
36
return
&CalculatorHandler{log: make(
map
[int]*shared.SharedStruct)}
37
}
38
39
func
(p *CalculatorHandler) Ping(ctx context.Context) (err error) {
40
fmt.Print(
"ping()\n"
)
Callers
1
runServer
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected