Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RepositoryCardDAV ¶
type RepositoryCardDAV interface { GetUserAccess(ctx context.Context, currentUserPrincipal string) ([]string, error) CreateFolder(ctx context.Context, homeSetPath string, addressbook *carddav.AddressBook) error ListFolders(ctx context.Context, homeSetPath string) ([]carddav.AddressBook, error) GetFolder(ctx context.Context, urlPath string) (*carddav.AddressBook, error) DeleteFolder(ctx context.Context, urlPath string) error GetFolderAccess(ctx context.Context, addressbook *carddav.AddressBook) ([]string, error) PutFile(ctx context.Context, homeSetPath string, object *carddav.AddressObject, opts *carddav.PutAddressObjectOptions) error ListFiles(ctx context.Context, homeSetPath, abUID string) ([]carddav.AddressObject, error) GetFile(ctx context.Context, urlPath string) (*carddav.AddressObject, error) DeleteFile(ctx context.Context, urlPath string) error }
Click to show internal directories.
Click to hide internal directories.