Documentation
¶
Index ¶
- func AuditCount(ctx context.Context, database *sql.DB) (int, error)
- type MatchServer
- func (s *MatchServer) Create(ctx context.Context, req *connect.Request[pb.CreateMatchRequest]) (*connect.Response[pb.Match], error)
- func (s *MatchServer) Delete(ctx context.Context, req *connect.Request[pb.DeleteMatchRequest]) (*connect.Response[emptypb.Empty], error)
- func (s *MatchServer) GetByID(ctx context.Context, req *connect.Request[pb.GetMatchByIDRequest]) (*connect.Response[pb.Match], error)
- func (s *MatchServer) ListAll(ctx context.Context, req *connect.Request[pb.ListAllMatchRequest]) (*connect.Response[pb.ListAllMatchResponse], error)
- type StandingServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MatchServer ¶
type MatchServer struct {
// contains filtered or unexported fields
}
func NewMatchServiceServer ¶
func NewMatchServiceServer(db *sql.DB) *MatchServer
func (*MatchServer) ListAll ¶
func (s *MatchServer) ListAll( ctx context.Context, req *connect.Request[pb.ListAllMatchRequest], ) (*connect.Response[pb.ListAllMatchResponse], error)
type StandingServer ¶
type StandingServer struct {
// contains filtered or unexported fields
}
func NewStandingServiceServer ¶
func NewStandingServiceServer(db *sql.DB) *StandingServer
func (*StandingServer) ListAll ¶
func (s *StandingServer) ListAll( ctx context.Context, req *connect.Request[pb.ListAllStandingRequest], ) (*connect.Response[pb.ListAllStandingResponse], error)
ListAll counts the standings from matches, Standing has no table to read from
Click to show internal directories.
Click to hide internal directories.