Documentation ¶
Index ¶
- type Server
- func (s *Server) CheckLine(ctx context.Context, req *pb.CheckLineRequest) (*pb.CheckLineResponse, error)
- func (s *Server) Close()
- func (s *Server) GetResults(ctx context.Context, req *pb.GetResultsRequest) (*pb.GetResultsResponse, error)
- func (s *Server) Ping(ctx context.Context, req *pb.PingRequest) (*pb.PingResponse, error)
- func (s *Server) PlaceBet(ctx context.Context, req *pb.PlaceBetRequest) (*pb.PlaceBetResponse, error)
- func (s *Server) ReleaseCheck(ctx context.Context, req *pb.ReleaseCheckRequest) (*pb.ReleaseCheckResponse, error)
- func (s *Server) Serve() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { pb.UnimplementedFortedServer // contains filtered or unexported fields }
func (*Server) CheckLine ¶
func (s *Server) CheckLine(ctx context.Context, req *pb.CheckLineRequest) (*pb.CheckLineResponse, error)
func (*Server) GetResults ¶
func (s *Server) GetResults(ctx context.Context, req *pb.GetResultsRequest) (*pb.GetResultsResponse, error)
func (*Server) Ping ¶
func (s *Server) Ping(ctx context.Context, req *pb.PingRequest) (*pb.PingResponse, error)
func (*Server) PlaceBet ¶
func (s *Server) PlaceBet(ctx context.Context, req *pb.PlaceBetRequest) (*pb.PlaceBetResponse, error)
func (*Server) ReleaseCheck ¶
func (s *Server) ReleaseCheck(ctx context.Context, req *pb.ReleaseCheckRequest) (*pb.ReleaseCheckResponse, error)
Click to show internal directories.
Click to hide internal directories.