Documentation ¶
Index ¶
- type Server
- func (s *Server) GetBallPosition(ctx context.Context, in *pb.GetBallPositionRequest) (*pb.GetBallPositionReply, error)
- func (s *Server) GetOpponent(ctx context.Context, in *pb.GetOpponentRequest) (*pb.GetOpponentReply, error)
- func (s *Server) GetScore(ctx context.Context, in *pb.GetScoreRequest) (*pb.GetScoreReply, error)
- func (s *Server) IdentifyPlayer(ctx context.Context, in *pb.IdentifyPlayerRequest) (*pb.IdentifyPlayerReply, error)
- func (s *Server) SetPlayerPosition(ctx context.Context, in *pb.SetPlayerPositionRequest) (*pb.SetPlayerPositionReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
func (*Server) GetBallPosition ¶
func (s *Server) GetBallPosition(ctx context.Context, in *pb.GetBallPositionRequest) (*pb.GetBallPositionReply, error)
func (*Server) GetOpponent ¶
func (s *Server) GetOpponent(ctx context.Context, in *pb.GetOpponentRequest) (*pb.GetOpponentReply, error)
func (*Server) GetScore ¶
func (s *Server) GetScore(ctx context.Context, in *pb.GetScoreRequest) (*pb.GetScoreReply, error)
func (*Server) IdentifyPlayer ¶
func (s *Server) IdentifyPlayer(ctx context.Context, in *pb.IdentifyPlayerRequest) (*pb.IdentifyPlayerReply, error)
func (*Server) SetPlayerPosition ¶
func (s *Server) SetPlayerPosition(ctx context.Context, in *pb.SetPlayerPositionRequest) (*pb.SetPlayerPositionReply, error)
Click to show internal directories.
Click to hide internal directories.