MCPcopy Create free account
hub / github.com/pace/bricks / SimpleMathServer

Struct SimpleMathServer

tools/testserver/simplemath/main.go:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31type SimpleMathServer struct {
32 math.UnimplementedMathServiceServer
33}
34
35func (*SimpleMathServer) Add(ctx context.Context, i *math.Input) (*math.Output, error) {
36 if loc, ok := locale.FromCtx(ctx); ok {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected