Improve addition of new peers in Management service. (#56)

* Store refactoring
* Improve addition of new peers in Management service.
This commit is contained in:
andpar83
2021-07-18 20:51:09 +02:00
committed by GitHub
parent f9c3ed784f
commit 7b52049333
4 changed files with 139 additions and 105 deletions
+2 -1
View File
@@ -2,13 +2,14 @@ package management
import (
"context"
"github.com/wiretrustee/wiretrustee/management/proto"
"google.golang.org/grpc/status"
)
// Server an instance of a Management server
type Server struct {
Store *Store
Store *FileStore
}
// NewServer creates a new Management server