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
Click to show internal directories.
Click to hide internal directories.