Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(upBackend webdav.UserPrincipalBackend, prefix string, repository RepositoryCalDAV) (caldav.Backend, error)
func NewCalGRPC ¶
func NewCalGRPC(repository RepositoryCalDAV) caldavGRPC.CalendarServer
Types ¶
type RepositoryCalDAV ¶
type RepositoryCalDAV interface { GetUserAccess(ctx context.Context, currentUserPrincipal string) (*caldavGRPC.PrivilegesResponse, error) GetFolderAccess(ctx context.Context, req *caldavGRPC.CalendarUserAccessRequest) (*caldavGRPC.PrivilegesResponse, error) CreateFolder(ctx context.Context, calendarInfo *caldavGRPC.CreateCalendarRequest) error ListFolders(ctx context.Context, currentUserPrincipal string) (*caldavGRPC.ListCalendarsResponse, error) GetFolder(ctx context.Context, req *caldavGRPC.CalendarRequest) (*caldavGRPC.CalendarInfo, error) DeleteFolder(ctx context.Context, req *caldavGRPC.CalendarRequest) error //PutFile(ctx context.Context, req *caldavGRPC.CalendarObjectInfo) (*caldavGRPC.PutCalendarObjectResponse, error) PutFile(ctx context.Context, uid, eventType string, object *caldav.CalendarObject, opts *caldav.PutCalendarObjectOptions) (*caldav.CalendarObject, error) ListFiles(ctx context.Context, req *caldavGRPC.CalendarRequest) (*caldavGRPC.ListCalendarObjectsResponse, error) GetFile(ctx context.Context, req *caldavGRPC.CalendarObjectRequest) (*caldavGRPC.CalendarObjectInfo, error) //DeleteFile(ctx context.Context, req *caldavGRPC.CalendarObjectRequest) (*caldavGRPC.DeleteCalendarObjectResponse, error) DeleteFile(ctx context.Context, uid string) error }
type VCalendarDTO ¶
type VCalendarDTO ical.Calendar
func NewVCalendarDTO ¶
func NewVCalendarDTO(object *caldavGRPC.CalendarObjectInfo) *VCalendarDTO
Source Files
¶
Click to show internal directories.
Click to hide internal directories.