Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶ added in v0.2.0
type ClientConfig struct { EnableModules map[string]bool AgentString string SaveSessions bool IServHost string Username string Password string }
func (*ClientConfig) IServUrl ¶ added in v0.2.0
func (c *ClientConfig) IServUrl() string
type Event ¶
type Event struct { Id string `json:"id"` Uid string `json:"uid"` RecurrenceId string `json:"recurrenceId"` Hash string `json:"hash"` Title string `json:"title"` Description string `json:"description"` DescriptionHtml string `json:"descriptionHtml"` Category string `json:"category"` CategoryColor string `json:"category_color"` Start IServTime1 `json:"start"` End IServTime1 `json:"end"` Timezone string `json:"timezone"` Editable bool `json:"editable"` Deletable bool `json:"deletable"` AllDay bool `json:"allDay"` Recurring bool `json:"recurring"` CalendarId string `json:"calendarId"` Location string `json:"location"` LocationHtml string `json:"locationHtml"` When string `json:"when"` Organizer string `json:"organizer"` Creator string `json:"creator"` CreatedAt IServTime2 `json:"createdAt"` Status string `json:"status"` ParticipantsWithStatus string `json:"participantsWithStatus"` CurrentUserPartstat string `json:"currentUserPartstat"` ShowAttendanceButtons bool `json:"showAttendanceButtons"` IsOrganizer bool `json:"isOrganizer"` Color string `json:"color"` CalendarName string `json:"calendarName"` Alarms []Alarm `json:"alarms"` }
event
type EventsInfo ¶
type Exercise ¶ added in v0.1.0
type Exercise struct { Description string DueDate time.Time Files []string Id int StartDate time.Time Tags []string Teacher string Title string Types []string }
exercise
type IServTime1 ¶
func (IServTime1) MarshalJSON ¶
func (c IServTime1) MarshalJSON() ([]byte, error)
func (*IServTime1) UnmarshalJSON ¶
func (c *IServTime1) UnmarshalJSON(b []byte) error
type IServTime2 ¶
func (IServTime2) MarshalJSON ¶
func (c IServTime2) MarshalJSON() ([]byte, error)
func (*IServTime2) UnmarshalJSON ¶
func (c *IServTime2) UnmarshalJSON(b []byte) error
type Notification ¶
type Notification struct { Type string `json:"type"` Id int `json:"id"` GroupId string `json:"groupId"` GroupTitle string `json:"groupTitle"` AutoGrouping bool `json:"autoGrouping"` Message string `json:"message"` GroupMessage string `json:"groupMessage"` Title string `json:"title"` Content string `json:"content"` Trigger string `json:"trigger"` Url string `json:"url"` Icon string `json:"icon"` Date IServTime1 `json:"date"` }
notification
type NotificationData ¶
type NotificationData struct { LastEventId int `json:"lastEventId"` LastId int `json:"lastId"` Since int `json:"since"` Count int `json:"count"` Notifications []Notification `json:"notifications"` }
type NotificationInfo ¶
type NotificationInfo struct { Status string `json:"status"` Data NotificationData `json:"data"` }
Click to show internal directories.
Click to hide internal directories.