ficsit-cli-flake/cli/provider/provider.go

17 lines
391 B
Go
Raw Normal View History

package provider
import (
"context"
resolver "github.com/satisfactorymodding/ficsit-resolver"
"github.com/satisfactorymodding/ficsit-cli/ficsit"
)
type Provider interface {
resolver.Provider
Mods(context context.Context, filter ficsit.ModFilter) (*ficsit.ModsResponse, error)
GetMod(context context.Context, modReference string) (*ficsit.GetModResponse, error)
IsOffline() bool
}