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

Struct server

examples/helloworld/greeter_server/main.go:38–40  ·  view source on GitHub ↗

server is used to implement helloworld.GreeterServer.

Source from the content-addressed store, hash-verified

36
37// server is used to implement helloworld.GreeterServer.
38type server struct {
39 pb.UnimplementedGreeterServer
40}
41
42// SayHello implements helloworld.GreeterServer
43func (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