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

Struct server

examples/features/observability/server/main.go:44–46  ·  view source on GitHub ↗

server is used to implement helloworld.GreeterServer.

Source from the content-addressed store, hash-verified

42
43// server is used to implement helloworld.GreeterServer.
44type server struct {
45 pb.UnimplementedGreeterServer
46}
47
48// SayHello implements helloworld.GreeterServer
49func (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