generated from VLADIMIR/template
19 lines
301 B
Go
19 lines
301 B
Go
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
|
|
}
|