This repository has been archived on 2022-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
api/ennoblement/usecase.go
Kichiyaki f7f71e5b6c - bump github.com/tribalwarshelp/shared
- delete liveennoblement usecase/repository
- query `liveEnnoblements` is deprecated
2021-01-15 18:59:24 +01:00

13 lines
290 B
Go

package ennoblement
import (
"context"
"github.com/tribalwarshelp/shared/models"
)
type Usecase interface {
Fetch(ctx context.Context, cfg FetchConfig) ([]*models.Ennoblement, int, error)
FetchLiveEnnoblements(ctx context.Context, server string) ([]*models.LiveEnnoblement, error)
}