wish

package
v0.0.0-...-247c3a5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 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