legacy.go 596 B

12345678910111213141516171819202122232425262728293031
  1. package waServerSync
  2. // Deprecated: Use GetKeyID
  3. func (x *SyncdRecord) GetKeyId() *KeyId {
  4. return x.GetKeyID()
  5. }
  6. // Deprecated: Use GetKeyID
  7. func (x *SyncdSnapshot) GetKeyId() *KeyId {
  8. return x.GetKeyID()
  9. }
  10. // Deprecated: Use GetKeyID
  11. func (x *SyncdPatch) GetKeyId() *KeyId {
  12. return x.GetKeyID()
  13. }
  14. // Deprecated: Use GetSnapshotMAC
  15. func (x *SyncdPatch) GetSnapshotMac() []byte {
  16. return x.GetSnapshotMAC()
  17. }
  18. // Deprecated: Use GetPatchMAC
  19. func (x *SyncdPatch) GetPatchMac() []byte {
  20. return x.GetPatchMAC()
  21. }
  22. // Deprecated: Use GetID
  23. func (x *KeyId) GetId() []byte {
  24. return x.GetID()
  25. }