Add Store service for Focalboard multi-product architecture (#20568)

* add Store service
Этот коммит содержится в:
Doug Lauder
2022-06-30 08:28:37 -04:00
коммит произвёл GitHub
родитель 1d9fa3c333
Коммит 91877c3016
3 изменённых файлов: 25 добавлений и 0 удалений

Просмотреть файл

@@ -4,6 +4,7 @@
package product
import (
"database/sql"
"io"
"github.com/gorilla/mux"
@@ -167,3 +168,10 @@ type KVStoreService interface {
type LogService interface {
mlog.LoggerIFace
}
// StoreService is the API for accessing the Store service APIs.
//
// The service shall be registered via app.StoreKey service key.
type StoreService interface {
GetMasterDB() *sql.DB
}