Documentation ¶
Index ¶
- Constants
- func AddAddressbook(name string, password string, user string) (model.ADB, error)
- func AddCal(user string, calId string, displayname string, colour string, ...) (model.CAL, error)
- func AddIcs(calId string, user string, calendar string, content string) (model.ICS, error)
- func AddUser(name string, password string) (model.User, error)
- func AddVCard(vcardId string, owner string, addressbookId string, isGroup bool, ...) (model.VCARD, error)
- func DeleteAddressbook(name string)
- func DeleteCal(name string)
- func DeleteIcs(icsId string) error
- func DeleteUser(name string)
- func DeleteVCard(vcardId string) error
- func FindIcsByCalendar(calID string) ([]*model.ICS, error)
- func FindIcsByTimeslot(calID string, start *time.Time, end *time.Time) ([]*model.ICS, error)
- func FindIcsInList(arrICS []string) ([]*model.ICS, error)
- func FindVCardsFromAddressbook(adbID string, vcardIDs []string) (error, []*model.VCARD)
- func FindVcardsByAddressbook(addressbookID string) (error, []*model.VCARD)
- func GetAddressbookByName(name string) (error, *model.ADB)
- func GetAddressbooksFromUser(user string) (error, []*model.ADB)
- func GetCal(calId string) (model.CAL, error)
- func GetICS(icsId string) (model.ICS, error)
- func GetOrCreateAddressbookByName(name string, owner string) (error, *model.ADB)
- func GetVCard(vcardId string) (model.VCARD, error)
- func ListAddressbook()
- func ListCal()
- func ListIcsPerCal(calendar string)
- func ListUser()
- func ListVCardsPerAddressbook(addressbook string)
- func UpdateAddressbook(name string, password string) error
- func UpdateIcs(calId string, content string) (model.ICS, error)
- func UpdateUser(name string, password string, comment string) error
- func UpdateVCard(name string, password string) error
- func ValidateUserInDB(name, password string) (bool, []string)
Constants ¶
View Source
const DATEPARSER string = "yMd'T'Hms"
View Source
const UTCMARKER string = "'Z'"
Variables ¶
This section is empty.
Functions ¶
func AddAddressbook ¶
func DeleteAddressbook ¶
func DeleteAddressbook(name string)
func DeleteUser ¶
func DeleteUser(name string)
func DeleteVCard ¶
func FindIcsByTimeslot ¶
func FindVcardsByAddressbook ¶
func ListAddressbook ¶
func ListAddressbook()
func ListIcsPerCal ¶
func ListIcsPerCal(calendar string)
func ListVCardsPerAddressbook ¶
func ListVCardsPerAddressbook(addressbook string)
func UpdateAddressbook ¶
func UpdateVCard ¶
func ValidateUserInDB ¶
TODO return permission, not true/false. when empty permission, no access...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.