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/server/usecase.go
2020-06-02 17:45:21 +02:00

13 lines
265 B
Go

package server
import (
"context"
"github.com/tribalwarshelp/shared/models"
)
type Usecase interface {
Fetch(ctx context.Context, filter *models.ServerFilter) ([]*models.Server, int, error)
GetByKey(ctx context.Context, key string) (*models.Server, error)
}