frostfs-node/pkg/morph/client/audit/wrapper/wrapper.go
Leonard Lyubich 919f4364f1 [] morph/audit: Implement wrapper over Audit contract client
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-12-25 16:49:27 +03:00

14 lines
379 B
Go

package audit
import (
"github.com/nspcc-dev/neofs-node/pkg/morph/client/audit"
)
// ClientWrapper is a wrapper over Audit contract
// client which implements storage of audit results.
type ClientWrapper audit.Client
// WrapClient wraps Audit contract client and returns ClientWrapper instance.
func WrapClient(c *audit.Client) *ClientWrapper {
return (*ClientWrapper)(c)
}