 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBookedEvent ¶
EventBookedEvent is emitted whenever an event is booked
func (*EventBookedEvent) EventName ¶
func (c *EventBookedEvent) EventName() string
EventName returns the event's name
type EventCreatedEvent ¶
type EventCreatedEvent struct {
	ID         string    `json:"id"`
	Name       string    `json:"name"`
	LocationID string    `json:"location_id"`
	Start      time.Time `json:"start_date"`
	End        time.Time `json:"end_date"`
}
    EventCreatedEvent is emitted whenever a new event is created
func (*EventCreatedEvent) EventName ¶
func (c *EventCreatedEvent) EventName() string
EventName returns the event's name
type LocationCreatedEvent ¶
type LocationCreatedEvent struct {
	ID      string             `json:"id"`
	Name    string             `json:"name"`
	Address string             `json:"address"`
	Country string             `json:"country"`
	Halls   []persistence.Hall `json:"halls"`
}
    LocationCreatedEvent is emitted whenever a location is created
func (*LocationCreatedEvent) EventName ¶
func (c *LocationCreatedEvent) EventName() string
EventName returns the event's name
 Click to show internal directories. 
   Click to hide internal directories.