basket

package
v0.6.53 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Prefix      = "BASKET_"
	UserCreated = Prefix + "USER_CREATED"
	UserDeleted = Prefix + "USER_DELETED"
)

Variables

This section is empty.

Functions

func NewUserCreatedEvent

func NewUserCreatedEvent(userID string) (event.Event, error)

func NewUserDeletedEvent

func NewUserDeletedEvent(userID string) (event.Event, error)

Types

type UserCreatedPayload

type UserCreatedPayload struct {
	UserID string `json:"user_id"`
}

type UserDeletedPayload

type UserDeletedPayload struct {
	UserID string `json:"user_id"`
}

Jump to

Keyboard shortcuts

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