Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event interface { // GetUrl returns the base path of the event GetUrl() string }
Event is an interface representing an event to be handled
type Exchange ¶
Exchange handles event posting
func NewSelfHttpExchange ¶
func NewSelfHttpExchange() Exchange
NewSelfHttpExchange returns an Exchange for posting event to this service itself
type ProjectParticipantUnregistrationEvent ¶
type ProjectParticipantUnregistrationEvent struct {
SiteUUID string `json:"siteUUID"`
}
ProjectParticipantUnregistrationEvent is triggered when a site is unregistered
func (ProjectParticipantUnregistrationEvent) GetUrl ¶
func (e ProjectParticipantUnregistrationEvent) GetUrl() string
type ProjectParticipantUpdateEvent ¶
type ProjectParticipantUpdateEvent struct { UUID string `json:"uuid"` PartyID uint `json:"party_id"` Name string `json:"name"` Description string `json:"description"` }
ProjectParticipantUpdateEvent is triggered when a site info is updated
func (ProjectParticipantUpdateEvent) GetUrl ¶
func (e ProjectParticipantUpdateEvent) GetUrl() string
Click to show internal directories.
Click to hide internal directories.