forked from TrueCloudLab/frostfs-node
[#482] reputation/router: Make route pkg independent
Make route package independent from controller package. Add common interfaces to `./common` directory. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
0a16aaacb1
commit
ac8441b718
8 changed files with 87 additions and 75 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
|
||||
"github.com/nspcc-dev/neofs-node/pkg/services/reputation"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/services/reputation/common"
|
||||
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
|
||||
"github.com/pkg/errors"
|
||||
"go.uber.org/zap"
|
||||
|
@ -47,7 +48,7 @@ type reportContext struct {
|
|||
|
||||
log *logger.Logger
|
||||
|
||||
ctx Context
|
||||
ctx common.Context
|
||||
}
|
||||
|
||||
type iteratorContext struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue