feat: initial commit

This commit is contained in:
2026-09-01 00:54:46 +02:00
commit 620f5f2b82
11 changed files with 525 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package main
import (
"context"
"gogrpc/proto"
)
type Service struct {
proto.UnimplementedServiceServer
}
func (s *Service) Ping(context.Context, *proto.PingMessage) (*proto.PingMessage, error) {
return &proto.PingMessage{Message: "pong"}, nil
}
var _ proto.ServiceServer = (*Service)(nil)