mirror of
https://git.sr.ht/~phw/scotty
synced 2025-07-01 15:51:56 +02:00
Introduced Backend.Close method
This allows Backend implementations to free used resources. Currently used for musicbrainzws2.Client
This commit is contained in:
parent
c1a480a1a6
commit
499786cab9
14 changed files with 45 additions and 8 deletions
|
@ -43,6 +43,8 @@ type DeezerHistoryBackend struct {
|
|||
|
||||
func (b *DeezerHistoryBackend) Name() string { return "deezer-history" }
|
||||
|
||||
func (b *DeezerHistoryBackend) Close() {}
|
||||
|
||||
func (b *DeezerHistoryBackend) Options() []models.BackendOption {
|
||||
return []models.BackendOption{{
|
||||
Name: "file-path",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue