2020-10-02 12:23:52 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-29 15:57:53 +00:00
|
|
|
func WithEACLSource(v Source) Option {
|
2020-10-02 12:23:52 +00:00
|
|
|
return func(c *cfg) {
|
|
|
|
c.storage = v
|
|
|
|
}
|
|
|
|
}
|