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.
2020-06-02 15:45:21 +00:00
|
|
|
package player
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"github.com/tribalwarshelp/shared/models"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Repository interface {
|
|
|
|
Fetch(ctx context.Context, server string, filter *models.PlayerFilter) ([]*models.Player, int, error)
|
2020-06-23 09:40:48 +00:00
|
|
|
FetchPlayerServers(ctx context.Context, playerID ...int) (map[int][]string, error)
|
2020-06-02 15:45:21 +00:00
|
|
|
}
|