Documentation
¶
Index ¶
- func CreateCalLink(db db.Queryable, req CreateCalLinkRequest) (*int, error)
- func CreateEventReference(db db.Queryable, req CreateEventReferenceRequest) error
- func GetEventReferences(db db.Queryable, req GetEventReferencesRequest) (*[]EventReference, error)
- func GetUser(db db.Queryable, req GetUserRequest) (*structs.User, error)
- func ListUsers(db db.Queryable, req ListUsersRequest) (*[]structs.User, error)
- func UpdateEventReference(db db.Queryable, req UpdateEventReferenceRequest) error
- type Calendar
- type CreateCalLinkRequest
- type CreateEventReferenceRequest
- type EventReference
- type GetCalendarRequest
- type GetEventReferenceRequest
- type GetEventReferencesRequest
- type GetUserRequest
- type ListUsersRequest
- type QueryableFields
- type UpdateEventReferenceRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCalLink ¶
func CreateCalLink(db db.Queryable, req CreateCalLinkRequest) (*int, error)
func CreateEventReference ¶
func CreateEventReference(db db.Queryable, req CreateEventReferenceRequest) error
func GetEventReferences ¶
func GetEventReferences(db db.Queryable, req GetEventReferencesRequest) (*[]EventReference, error)
func UpdateEventReference ¶
func UpdateEventReference(db db.Queryable, req UpdateEventReferenceRequest) error
Types ¶
type Calendar ¶
type Calendar struct {
ID int `json:"id"`
Nickname *string `json:"nickname"`
NuEmail string `json:"nu_email"`
EabURI string `json:"eab_uri"`
Slug string `json:"slug"`
EventReferences []EventReference `json:"event_references"`
InsertedAt string `json:"inserted_at"`
}
func GetCalendar ¶
func GetCalendar(db db.Queryable, req GetCalendarRequest) (*Calendar, error)
type CreateCalLinkRequest ¶
type EventReference ¶
type EventReference struct {
ID int `json:"id"`
CalID int `json:"cal_id"`
Event string `json:"event"`
CustomSummary *string `json:"custom_summary"`
LocationBuilding *string `json:"location_building"`
LocationRoom *string `json:"location_room"`
LocationAddress *string `json:"location_address"`
IncludeLocation bool `json:"include_location"`
InsertedAt string `json:"inserted_at"`
}
func GetEventReference ¶
func GetEventReference(db db.Queryable, req GetEventReferenceRequest) (*EventReference, error)
type GetCalendarRequest ¶
type GetEventReferenceRequest ¶
type GetEventReferenceRequest struct {
EventReferenceID int
}
type GetUserRequest ¶
type ListUsersRequest ¶
type ListUsersRequest struct {
Limit uint64
Offset uint64
Query *QueryableFields
}
type QueryableFields ¶
Click to show internal directories.
Click to hide internal directories.