fix(server): 1.replace bolt with sqlite in config 2.add hardcoded listing roles
This commit is contained in:
parent
d97451653e
commit
4f6683de03
9 changed files with 61 additions and 85 deletions
|
@ -37,6 +37,10 @@ func NewSQLiteStore(db db.IDB) (*SQLiteStore, error) {
|
|||
}, nil
|
||||
}
|
||||
|
||||
func (st *SQLiteStore) Close() error {
|
||||
return st.db.Close()
|
||||
}
|
||||
|
||||
func (st *SQLiteStore) Lock() {
|
||||
st.mtx.Lock()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue