You've already forked tarr
Initial Commit
This commit is contained in:
11
pkg/domain/bazarr.go
Normal file
11
pkg/domain/bazarr.go
Normal file
@ -0,0 +1,11 @@
|
||||
package domain
|
||||
|
||||
const (
|
||||
BazarrAPIQueryKeyAPIToken string = "apikey"
|
||||
LidarrAPIQueryKeyAPIToken string = "apiKey"
|
||||
ProwlarrAPIQueryKeyAPIToken string = "apiKey"
|
||||
RadarrAPIQueryKeyAPIToken string = "apiKey"
|
||||
ReadarrAPIQueryKeyAPIToken string = "apiKey"
|
||||
SabNZBdAPIQueryKeyAPIToken string = "apiKey"
|
||||
SonarrAPIQueryKeyAPIToken string = "apiKey"
|
||||
)
|
12
pkg/domain/domain.go
Normal file
12
pkg/domain/domain.go
Normal file
@ -0,0 +1,12 @@
|
||||
package domain
|
||||
|
||||
type API struct {
|
||||
Password string `yaml:"password"`
|
||||
Token string `yaml:"token"`
|
||||
URL string `yaml:"url"`
|
||||
Username string `yaml:"username"`
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
API *API `yaml:"api"`
|
||||
}
|
Reference in New Issue
Block a user