carddav

package
v0.0.0-...-fdf27ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sync

func Sync(client Client, records []map[string]interface{}, vCardV3 bool, vCardPhotoSize int) error

Types

type Client

type Client struct {
	URL      string
	User     string
	Password string
}

Client wraps functionality for calling carddav methods

func (*Client) Delete

func (c *Client) Delete(id string) (err error)

func (*Client) GetAll

func (c *Client) GetAll() (string, error)

func (*Client) List

func (c *Client) List() (items []string, err error)

func (*Client) Put

func (c *Client) Put(id string, vcardData string) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL