MCPcopy 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
35func NewCalculatorHandler() *CalculatorHandler {
36 return &CalculatorHandler{log: make(map[int]*shared.SharedStruct)}
37}
38
39func (p *CalculatorHandler) Ping(ctx context.Context) (err error) {
40 fmt.Print("ping()\n")

Callers 1

runServerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected