2020-12-21 07:52:34 +00:00
|
|
|
package audit
|
|
|
|
|
|
|
|
import (
|
2023-03-07 10:38:56 +00:00
|
|
|
audit "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/audit/grpc"
|
|
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
2020-12-21 07:52:34 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func (a *DataAuditResult) MarshalJSON() ([]byte, error) {
|
2021-03-12 12:57:23 +00:00
|
|
|
return message.MarshalJSON(a)
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (a *DataAuditResult) UnmarshalJSON(data []byte) error {
|
2021-03-12 12:57:23 +00:00
|
|
|
return message.UnmarshalJSON(a, data, new(audit.DataAuditResult))
|
2020-12-21 07:52:34 +00:00
|
|
|
}
|