handler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserCreatedHandler

type UserCreatedHandler struct {
	// contains filtered or unexported fields
}

UserCreatedHandler 用户创建成功事件处理器

func NewUserCreatedHandler

func NewUserCreatedHandler(userService service.UserApplicationService) *UserCreatedHandler

func (*UserCreatedHandler) CanHandle

func (handler *UserCreatedHandler) CanHandle(eventType string) bool

func (*UserCreatedHandler) Handle

func (handler *UserCreatedHandler) Handle(ctx context.Context, event domainEvent.DomainEvent) error

Jump to

Keyboard shortcuts

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