wish

package
v0.0.0-...-98f4190 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventWishBookingUpdate eventmanager.EventName = "wish.booking.update"
)

Variables

This section is empty.

Functions

func NewBookingUpdateEvent

func NewBookingUpdateEvent(payload BookingPayload) eventmanager.Event

Types

type BookingPayload

type BookingPayload struct {
	ItemID      wishlist.ItemID
	WishOwner   user.ID
	OldBookedBy *user.ID
	NewBookedBy *user.ID
	EventBy     user.ID
	EventAt     time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL