Documentation ¶
Index ¶
- type UserApplication
- func (s *UserApplication) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
- func (s *UserApplication) GetUserInfo(ctx context.Context, in *v1.GetUserInfoRequest) (*v1.GetUserInfoResponse, error)
- func (s *UserApplication) UpdateUserInfo(ctx context.Context, in *v1.UpdateUserInfoRequest) (*v1.UpdateUserInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserApplication ¶
type UserApplication struct { v1.UnimplementedUserServiceServer // contains filtered or unexported fields }
func NewUserApplication ¶
func NewUserApplication(user userdomain.IUserUsecase) *UserApplication
func (*UserApplication) CreateUser ¶
func (s *UserApplication) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
func (*UserApplication) GetUserInfo ¶
func (s *UserApplication) GetUserInfo(ctx context.Context, in *v1.GetUserInfoRequest) (*v1.GetUserInfoResponse, error)
func (*UserApplication) UpdateUserInfo ¶
func (s *UserApplication) UpdateUserInfo(ctx context.Context, in *v1.UpdateUserInfoRequest) (*v1.UpdateUserInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.