mirror of
https://git.sr.ht/~sircmpwn/tokidoki
synced 2025-12-12 22:17:22 +01:00
storage: adapt to go-webdav interface changes
This commit is contained in:
parent
39f90686f9
commit
adb2a8bdfb
3 changed files with 139 additions and 40 deletions
|
|
@ -32,6 +32,18 @@ func (*psqlBackend) GetAddressBook(ctx context.Context, path string) (*carddav.A
|
|||
panic("TODO")
|
||||
}
|
||||
|
||||
func (*psqlBackend) CreateAddressBook(ctx context.Context, ab *carddav.AddressBook) error {
|
||||
panic("TODO")
|
||||
}
|
||||
|
||||
func (*psqlBackend) UpdateAddressBook(ctx context.Context, ab *carddav.AddressBook) error {
|
||||
panic("TODO")
|
||||
}
|
||||
|
||||
func (*psqlBackend) DeleteAddressBook(ctx context.Context, path string) error {
|
||||
panic("TODO")
|
||||
}
|
||||
|
||||
func (*psqlBackend) GetAddressObject(ctx context.Context, path string, req *carddav.AddressDataRequest) (*carddav.AddressObject, error) {
|
||||
panic("TODO")
|
||||
}
|
||||
|
|
@ -44,7 +56,7 @@ func (*psqlBackend) QueryAddressObjects(ctx context.Context, path string, query
|
|||
panic("TODO")
|
||||
}
|
||||
|
||||
func (*psqlBackend) PutAddressObject(ctx context.Context, path string, card vcard.Card, opts *carddav.PutAddressObjectOptions) (loc string, err error) {
|
||||
func (*psqlBackend) PutAddressObject(ctx context.Context, path string, card vcard.Card, opts *carddav.PutAddressObjectOptions) (*carddav.AddressObject, error) {
|
||||
panic("TODO")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue