Yimaru-BackEnd/internal/services/odds/port.go
OneTap Technologies aba4b89bb0 adding getby odd id
2025-04-12 09:27:41 +03:00

17 lines
398 B
Go

package odds
import (
"context"
"github.com/SamuelTariku/FortuneBet-Backend/internal/domain"
)
type Service interface {
FetchNonLiveOdds(ctx context.Context) error
GetPrematchOdds(ctx context.Context, eventID string) ([]domain.Odd, error)
GetALLPrematchOdds(ctx context.Context) ([]domain.Odd, error)
GetRawOddsByID(ctx context.Context, rawOddsID string) ([]domain.RawOddsByID, error)
}