mirror of https://github.com/usememos/memos.git
11 lines
315 B
Go
11 lines
315 B
Go
package store
|
|
|
|
import "context"
|
|
|
|
type Driver interface {
|
|
CreateActivity(ctx context.Context, create *Activity) (*Activity, error)
|
|
|
|
UpsertSystemSetting(ctx context.Context, upsert *SystemSetting) (*SystemSetting, error)
|
|
ListSystemSettings(ctx context.Context, find *FindSystemSetting) ([]*SystemSetting, error)
|
|
}
|