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
378 B
Go
14 lines
378 B
Go
package tombstone
|
|
|
|
import (
|
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
|
tombstone "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc"
|
|
)
|
|
|
|
func (s *Tombstone) MarshalJSON() ([]byte, error) {
|
|
return message.MarshalJSON(s)
|
|
}
|
|
|
|
func (s *Tombstone) UnmarshalJSON(data []byte) error {
|
|
return message.UnmarshalJSON(s, data, new(tombstone.Tombstone))
|
|
}
|