mycal

package
v0.0.0-...-f2c2acc Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCalendar

func CreateCalendar(ctx context.Context, client *caldav.Client, homeset string, calendarName string, summary string, startDateTime time.Time, endDateTime time.Time) error

func CreateClient

func CreateClient(url string, r io.Reader) (*caldav.Client, string, context.Context, error)

func CreateEvent

func CreateEvent(ctx context.Context, client *caldav.Client, homeset, calendarName string, event *ical.Event) error

func Delete

func Delete(ctx context.Context, client *caldav.Client, path string) error

func FindCalendar

func FindCalendar(ctx context.Context, client *caldav.Client, homeset string, calendarName string) (caldav.Calendar, error)

func GetCredentials

func GetCredentials(r io.Reader) (string, string, error)

func GetEvent

func GetEvent(summary string, startDateTime time.Time, endDateTime time.Time) (*ical.Event, error)

func ListCalendars

func ListCalendars(ctx context.Context, client *caldav.Client, homeset string) error

func ListEvents

func ListEvents(ctx context.Context, client *caldav.Client, calendar caldav.Calendar) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳