Documentation ¶
Index ¶
- func AddUserToEvent(objectId primitive.ObjectID, email string) (entity.Event, error)
- func CreateEvent(creatorEmail string, req *EventCreateRequest) (entity.Event, error)
- func GetDetailedEvents(email string, from int, to int) ([]entity.EventWithUserState, error)
- func GetEvent(objectId primitive.ObjectID) (entity.Event, error)
- func GetEventsForUser(email string, from int, to int) ([]entity.EventWithUserState, error)
- func RemoveUserFromEvent(objectId primitive.ObjectID, email string) (entity.Event, error)
- func UpdateEvent(objectId primitive.ObjectID, req *EventCreateRequest) (entity.Event, error)
- type EventCreateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserToEvent ¶
func CreateEvent ¶
func CreateEvent(creatorEmail string, req *EventCreateRequest) (entity.Event, error)
func GetDetailedEvents ¶
func GetEventsForUser ¶
func RemoveUserFromEvent ¶
func UpdateEvent ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.