MCPcopy
hub / github.com/grpc/grpc-go / server

Struct server

examples/features/csm_observability/server/main.go:48–51  ·  view source on GitHub ↗

server is used to implement helloworld.GreeterServer.

Source from the content-addressed store, hash-verified

46
47// server is used to implement helloworld.GreeterServer.
48type server struct {
49 pb.UnimplementedGreeterServer
50 addr string
51}
52
53// SayHello implements helloworld.GreeterServer
54func (s *server) SayHello(_ context.Context, in *pb.HelloRequest) (*pb.HelloReply, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected