frostfs-api-go-pogpp/v2/netmap/convert.go
Leonard Lyubich ddd3ba1bf2 v2/netmap: Define uni PlacementPolicy type
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2020-09-18 10:42:09 +03:00

23 lines
378 B
Go

package netmap
import (
netmap "github.com/nspcc-dev/neofs-api-go/v2/netmap/grpc"
)
func PlacementPolicyToGRPCMessage(p *PlacementPolicy) *netmap.PlacementPolicy {
if p == nil {
return nil
}
// TODO: fill me
return nil
}
func PlacementPolicyFromGRPCMessage(m *netmap.PlacementPolicy) *PlacementPolicy {
if m == nil {
return nil
}
// TODO: fill me
return nil
}