tablemodule

package
v0.0.0-...-0c0f7dc Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const DATEPARSER string = "yMd'T'Hms"
View Source
const UTCMARKER string = "'Z'"

Variables

This section is empty.

Functions

func AddAddressbook

func AddAddressbook(name string, password string, user string) (model.ADB, error)

func AddCal

func AddCal(user string, calId string, displayname string, colour string, freebusyset string, order int, supportedCalComponent string, synctoken int, timezone string) (model.CAL, error)

func AddIcs

func AddIcs(calId string, user string, calendar string, content string) (model.ICS, error)

func AddUser

func AddUser(name string, password string) (model.User, error)

func AddVCard

func AddVCard(vcardId string, owner string, addressbookId string, isGroup bool, content string) (model.VCARD, error)

func DeleteAddressbook

func DeleteAddressbook(name string)

func DeleteCal

func DeleteCal(name string)

func DeleteIcs

func DeleteIcs(icsId string) error

func DeleteUser

func DeleteUser(name string)

func DeleteVCard

func DeleteVCard(vcardId string) error

func FindIcsByCalendar

func FindIcsByCalendar(calID string) ([]*model.ICS, error)

func FindIcsByTimeslot

func FindIcsByTimeslot(calID string, start *time.Time, end *time.Time) ([]*model.ICS, error)

func FindIcsInList

func FindIcsInList(arrICS []string) ([]*model.ICS, error)

func FindVCardsFromAddressbook

func FindVCardsFromAddressbook(adbID string, vcardIDs []string) (error, []*model.VCARD)

func FindVcardsByAddressbook

func FindVcardsByAddressbook(addressbookID string) (error, []*model.VCARD)

func GetAddressbookByName

func GetAddressbookByName(name string) (error, *model.ADB)

func GetAddressbooksFromUser

func GetAddressbooksFromUser(user string) (error, []*model.ADB)

func GetCal

func GetCal(calId string) (model.CAL, error)

func GetICS

func GetICS(icsId string) (model.ICS, error)

func GetOrCreateAddressbookByName

func GetOrCreateAddressbookByName(name string, owner string) (error, *model.ADB)

func GetVCard

func GetVCard(vcardId string) (model.VCARD, error)

func ListAddressbook

func ListAddressbook()

func ListCal

func ListCal()

func ListIcsPerCal

func ListIcsPerCal(calendar string)

func ListUser

func ListUser()

func ListVCardsPerAddressbook

func ListVCardsPerAddressbook(addressbook string)

func UpdateAddressbook

func UpdateAddressbook(name string, password string) error

func UpdateIcs

func UpdateIcs(calId string, content string) (model.ICS, error)

func UpdateUser

func UpdateUser(name string, password string, comment string) error

func UpdateVCard

func UpdateVCard(name string, password string) error

func ValidateUserInDB

func ValidateUserInDB(name, password string) (bool, []string)

TODO return permission, not true/false. when empty permission, no access...

Types

This section is empty.

Jump to

Keyboard shortcuts

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