Documentation ¶
Index ¶
- type DB
- type EventService
- func (es *EventService) AddEvent(ctx context.Context, e *event.Event) (event.EventUUID, error)
- func (es *EventService) GetEvent(ctx context.Context, eID event.EventUUID) (*event.Event, []event.EventResponse, error)
- func (e *EventService) UpsertUserEventAvailability(ctx context.Context, response event.EventResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventService ¶
type EventService struct {
// contains filtered or unexported fields
}
func NewEventService ¶
func NewEventService(db *DB) *EventService
func (*EventService) GetEvent ¶
func (es *EventService) GetEvent(ctx context.Context, eID event.EventUUID) (*event.Event, []event.EventResponse, error)
func (*EventService) UpsertUserEventAvailability ¶
func (e *EventService) UpsertUserEventAvailability(ctx context.Context, response event.EventResponse) error
Click to show internal directories.
Click to hide internal directories.