mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-05 11:39:02 +08:00
9 lines
166 B
Go
9 lines
166 B
Go
|
package remote_pb
|
||
|
|
||
|
import "github.com/golang/protobuf/proto"
|
||
|
|
||
|
func (fp *RemoteStorageLocation) Key() interface{} {
|
||
|
key, _ := proto.Marshal(fp)
|
||
|
return string(key)
|
||
|
}
|