[#311] services/control: Implement NetmapSnapshot method
Implement methods required for signatures. Receive network map from netmap storage, convert it to Control service message and return in response. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
28777911fb
commit
3e882d963f
4 changed files with 113 additions and 1 deletions
|
@ -42,6 +42,7 @@ func initControlService(c *cfg) {
|
|||
controlSvc.WithKey(c.key),
|
||||
controlSvc.WithAuthorizedKeys(keys),
|
||||
controlSvc.WithHealthChecker(c),
|
||||
controlSvc.WithNetMapSource(c.cfgNetmap.wrapper),
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue