Add Store service for Focalboard multi-product architecture (#20568)
* add Store service
Этот коммит содержится в:
@@ -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
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user