Documentation ¶
Index ¶
- Variables
- type UserService
- func (u *UserService) CreateMacro(ctx context.Context, request *v1.CreateMacroRequest) (*v1.CreateMacroResponse, error)
- func (u *UserService) CreateUser(ctx context.Context, request *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
- func (u *UserService) CreateUserKeyboardBinding(ctx context.Context, request *v1.CreateUserKeyboardBindingRequest) (*v1.CreateUserKeyboardBindingResponse, error)
- func (u *UserService) DeleteMacro(ctx context.Context, request *v1.DeleteMacroRequest) (*v1.DeleteMacroResponse, error)
- func (u *UserService) DeleteUserKeyboardBinding(ctx context.Context, request *v1.DeleteUserKeyboardBindingRequest) (*v1.DeleteUserKeyboardBindingResponse, error)
- func (u *UserService) GetMacro(ctx context.Context, request *v1.GetMacroRequest) (*v1.GetMacroResponse, error)
- func (u *UserService) GetUser(ctx context.Context, request *v1.GetUserRequest) (*v1.GetUserResponse, error)
- func (u *UserService) GetUserByName(ctx context.Context, request *v1.GetUserByNameRequest) (*v1.GetUserByNameResponse, error)
- func (u *UserService) GetUserKeyboardBinding(ctx context.Context, request *v1.GetUserKeyboardBindingRequest) (*v1.GetUserKeyboardBindingResponse, error)
- func (u *UserService) ListMacro(ctx context.Context, request *v1.ListMacroRequest) (*v1.ListMacroResponse, error)
- func (u *UserService) ListUserKeyboardBinding(ctx context.Context, request *v1.ListUserKeyboardBindingRequest) (*v1.ListUserKeyboardBindingResponse, error)
- func (u *UserService) UpdateUser(ctx context.Context, request *v1.UpdateUserRequest) (*v1.UpdateUserResponse, error)
- func (u *UserService) UpdateUserKeyboardBinding(ctx context.Context, request *v1.UpdateUserKeyboardBindingRequest) (*v1.UpdateUserKeyboardBindingResponse, error)
- func (u *UserService) VerifyPassword(ctx context.Context, request *v1.VerifyPasswordRequest) (*v1.VerifyPasswordResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewUserService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type UserService ¶
type UserService struct { v1.UnimplementedUserServer // contains filtered or unexported fields }
func NewUserService ¶
func NewUserService(uc *biz.UserUseCase, kb *biz.UserKeyboardBindingUseCase, mu *biz.MacroUseCase, logger log.Logger) *UserService
func (*UserService) CreateMacro ¶
func (u *UserService) CreateMacro(ctx context.Context, request *v1.CreateMacroRequest) (*v1.CreateMacroResponse, error)
func (*UserService) CreateUser ¶
func (u *UserService) CreateUser(ctx context.Context, request *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
func (*UserService) CreateUserKeyboardBinding ¶
func (u *UserService) CreateUserKeyboardBinding(ctx context.Context, request *v1.CreateUserKeyboardBindingRequest) (*v1.CreateUserKeyboardBindingResponse, error)
func (*UserService) DeleteMacro ¶
func (u *UserService) DeleteMacro(ctx context.Context, request *v1.DeleteMacroRequest) (*v1.DeleteMacroResponse, error)
func (*UserService) DeleteUserKeyboardBinding ¶
func (u *UserService) DeleteUserKeyboardBinding(ctx context.Context, request *v1.DeleteUserKeyboardBindingRequest) (*v1.DeleteUserKeyboardBindingResponse, error)
func (*UserService) GetMacro ¶
func (u *UserService) GetMacro(ctx context.Context, request *v1.GetMacroRequest) (*v1.GetMacroResponse, error)
func (*UserService) GetUser ¶
func (u *UserService) GetUser(ctx context.Context, request *v1.GetUserRequest) (*v1.GetUserResponse, error)
func (*UserService) GetUserByName ¶
func (u *UserService) GetUserByName(ctx context.Context, request *v1.GetUserByNameRequest) (*v1.GetUserByNameResponse, error)
func (*UserService) GetUserKeyboardBinding ¶
func (u *UserService) GetUserKeyboardBinding(ctx context.Context, request *v1.GetUserKeyboardBindingRequest) (*v1.GetUserKeyboardBindingResponse, error)
func (*UserService) ListMacro ¶
func (u *UserService) ListMacro(ctx context.Context, request *v1.ListMacroRequest) (*v1.ListMacroResponse, error)
func (*UserService) ListUserKeyboardBinding ¶
func (u *UserService) ListUserKeyboardBinding(ctx context.Context, request *v1.ListUserKeyboardBindingRequest) (*v1.ListUserKeyboardBindingResponse, error)
func (*UserService) UpdateUser ¶
func (u *UserService) UpdateUser(ctx context.Context, request *v1.UpdateUserRequest) (*v1.UpdateUserResponse, error)
func (*UserService) UpdateUserKeyboardBinding ¶
func (u *UserService) UpdateUserKeyboardBinding(ctx context.Context, request *v1.UpdateUserKeyboardBindingRequest) (*v1.UpdateUserKeyboardBindingResponse, error)
func (*UserService) VerifyPassword ¶
func (u *UserService) VerifyPassword(ctx context.Context, request *v1.VerifyPasswordRequest) (*v1.VerifyPasswordResponse, error)
Click to show internal directories.
Click to hide internal directories.