MCPcopy Create free account
hub / github.com/apache/thrift / Ping

Method Ping

tutorial/go/src/handler.go:39–42  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

37}
38
39func (p *CalculatorHandler) Ping(ctx context.Context) (err error) {
40 fmt.Print("ping()\n")
41 return nil
42}
43
44func (p *CalculatorHandler) Add(ctx context.Context, num1 int32, num2 int32) (retval17 int32, err error) {
45 fmt.Print("add(", num1, ",", num2, ")\n")

Callers 1

handleClientFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected