mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-10 11:27:11 +02:00
11 lines
373 B
Go
11 lines
373 B
Go
package model
|
|
|
|
import "context"
|
|
|
|
type PropertyRepository interface {
|
|
Put(ctx context.Context, id string, value string) error
|
|
PutIfAbsent(ctx context.Context, id string, value string) error
|
|
Get(ctx context.Context, id string) (string, error)
|
|
Delete(ctx context.Context, id string) error
|
|
DefaultGet(ctx context.Context, id string, defaultValue string) (string, error)
|
|
}
|