generated from VLADIMIR/template
Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
proto "evening_detective/proto"
|
||||
"context"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
proto.UnimplementedEveningDetectiveServer
|
||||
}
|
||||
|
||||
func NewServer() *Server {
|
||||
return &Server{}
|
||||
}
|
||||
|
||||
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
|
||||
return &proto.PingRsp{}, nil
|
||||
}
|
||||
Reference in New Issue
Block a user