forked from TrueCloudLab/frostfs-api-go
Alex Vanin
f69d2ad83c
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
14 lines
380 B
Go
14 lines
380 B
Go
package audit
|
|
|
|
import (
|
|
audit "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/grpc"
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
|
)
|
|
|
|
func (a *DataAuditResult) MarshalJSON() ([]byte, error) {
|
|
return message.MarshalJSON(a)
|
|
}
|
|
|
|
func (a *DataAuditResult) UnmarshalJSON(data []byte) error {
|
|
return message.UnmarshalJSON(a, data, new(audit.DataAuditResult))
|
|
}
|