mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 13:47:05 +02:00
Autenticate OAuth backends
This commit is contained in:
parent
94704f9cd0
commit
fa7732c538
15 changed files with 61 additions and 20 deletions
|
@ -39,6 +39,8 @@ type JspfBackend struct {
|
|||
tracks []Track
|
||||
}
|
||||
|
||||
func (b *JspfBackend) Name() string { return "jspf" }
|
||||
|
||||
func (b *JspfBackend) FromConfig(config *viper.Viper) models.Backend {
|
||||
b.filePath = config.GetString("file-path")
|
||||
b.title = config.GetString("title")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue