forked from TrueCloudLab/frostfs-node
18 lines
249 B
Go
18 lines
249 B
Go
|
package eacl
|
||
|
|
||
|
import (
|
||
|
"github.com/nspcc-dev/neofs-node/pkg/util/logger"
|
||
|
)
|
||
|
|
||
|
func WithLogger(v *logger.Logger) Option {
|
||
|
return func(c *cfg) {
|
||
|
c.logger = v
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func WithEACLStorage(v Storage) Option {
|
||
|
return func(c *cfg) {
|
||
|
c.storage = v
|
||
|
}
|
||
|
}
|