1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-05-11 22:10:46 +02:00
seaweedfs/weed/pb/remote_pb/remote_pb_helper.go
2022-08-17 12:05:07 -07:00

9 lines
166 B
Go

package remote_pb
import "google.golang.org/protobuf/proto"
func (fp *RemoteStorageLocation) Key() interface{} {
key, _ := proto.Marshal(fp)
return string(key)
}