forked from TrueCloudLab/frostfs-api-go
15 lines
398 B
Go
15 lines
398 B
Go
|
package apemanager
|
||
|
|
||
|
import (
|
||
|
apemanager_grpc "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/apemanager/grpc"
|
||
|
"git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/rpc/message"
|
||
|
)
|
||
|
|
||
|
func (t *ChainTarget) MarshalJSON() ([]byte, error) {
|
||
|
return message.MarshalJSON(t)
|
||
|
}
|
||
|
|
||
|
func (t *ChainTarget) UnmarshalJSON(data []byte) error {
|
||
|
return message.UnmarshalJSON(t, data, new(apemanager_grpc.ChainTarget))
|
||
|
}
|