Documentation ¶
Index ¶
- Constants
- func NewGameRevisionUploadedEvent(gameID, ownerID, revisionID, sourceLocation string) event.Event
- func NewUserCreatedEvent(userID string) (event.Event, error)
- func NewUserDeletedEvent(userID string) (event.Event, error)
- type GameRevisionUploadedPayload
- type UserCreatedPayload
- type UserDeletedPayload
Constants ¶
View Source
const ( Prefix = "BASKET_" UserCreated = Prefix + "USER_CREATED" UserDeleted = Prefix + "USER_DELETED" GameRevisionUploaded = Prefix + "GAME_REVISION_UPLOADED" )
Variables ¶
This section is empty.
Functions ¶
func NewGameRevisionUploadedEvent ¶ added in v0.6.54
Types ¶
type GameRevisionUploadedPayload ¶ added in v0.6.54
type UserCreatedPayload ¶
type UserCreatedPayload struct {
UserID string `json:"user_id"`
}
type UserDeletedPayload ¶
type UserDeletedPayload struct {
UserID string `json:"user_id"`
}
Click to show internal directories.
Click to hide internal directories.