service

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDomainService

type UserDomainService interface {
	UserInfo(ctx context.Context, id uuid.UUID) (*model.User, error)
	FindByTelephone(ctx context.Context, telephone string) (*model.User, error)
	FindByWxUnionId(ctx context.Context, wxUnionId string) (*model.User, error)
	FindByOpenId(ctx context.Context, platform, openid string) (*model.User, error)
	Create(ctx context.Context, telephone, unionId, wxMiniProgramOpenId, nickname, avatar string) (*model.User, error)
}

func NewUserDomainService

func NewUserDomainService(userRepository repository.UserRepository) UserDomainService

Jump to

Keyboard shortcuts

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