15 lines
407 B
Go
15 lines
407 B
Go
package settings
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/SamuelTariku/FortuneBet-Backend/internal/domain"
|
|
)
|
|
|
|
type SettingStore interface {
|
|
GetSettingList(ctx context.Context) (domain.SettingList, error)
|
|
GetSettings(ctx context.Context) ([]domain.Setting, error)
|
|
GetSetting(ctx context.Context, key string) (domain.Setting, error)
|
|
SaveSetting(ctx context.Context, key, value string) (domain.Setting, error)
|
|
}
|