Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorCreateKeyboardBindingFailed(format string, args ...interface{}) *errors.Error
- func ErrorCreateMacroFailed(format string, args ...interface{}) *errors.Error
- func ErrorDeleteKeyboardBindingFailed(format string, args ...interface{}) *errors.Error
- func ErrorDeleteMacroFailed(format string, args ...interface{}) *errors.Error
- func ErrorGetMacroFailed(format string, args ...interface{}) *errors.Error
- func ErrorUnknownError(format string, args ...interface{}) *errors.Error
- func ErrorUpdateKeyboardBindingFailed(format string, args ...interface{}) *errors.Error
- func ErrorUserNotFound(format string, args ...interface{}) *errors.Error
- func ErrorUsernameConflict(format string, args ...interface{}) *errors.Error
- func ErrorVerifyPasswordFailed(format string, args ...interface{}) *errors.Error
- func IsCreateKeyboardBindingFailed(err error) bool
- func IsCreateMacroFailed(err error) bool
- func IsDeleteKeyboardBindingFailed(err error) bool
- func IsDeleteMacroFailed(err error) bool
- func IsGetMacroFailed(err error) bool
- func IsUnknownError(err error) bool
- func IsUpdateKeyboardBindingFailed(err error) bool
- func IsUserNotFound(err error) bool
- func IsUsernameConflict(err error) bool
- func IsVerifyPasswordFailed(err error) bool
- func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
- type CreateMacroRequest
- func (*CreateMacroRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMacroRequest) GetActions() []*MacroAction
- func (x *CreateMacroRequest) GetKeyboardKey() string
- func (x *CreateMacroRequest) GetName() string
- func (x *CreateMacroRequest) GetUserId() int64
- func (*CreateMacroRequest) ProtoMessage()
- func (x *CreateMacroRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMacroRequest) Reset()
- func (x *CreateMacroRequest) String() string
- type CreateMacroResponse
- type CreateUserKeyboardBindingRequest
- func (*CreateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
- func (x *CreateUserKeyboardBindingRequest) GetName() string
- func (x *CreateUserKeyboardBindingRequest) GetUserId() int64
- func (*CreateUserKeyboardBindingRequest) ProtoMessage()
- func (x *CreateUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserKeyboardBindingRequest) Reset()
- func (x *CreateUserKeyboardBindingRequest) String() string
- type CreateUserKeyboardBindingResponse
- func (*CreateUserKeyboardBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateUserKeyboardBindingResponse) ProtoMessage()
- func (x *CreateUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserKeyboardBindingResponse) Reset()
- func (x *CreateUserKeyboardBindingResponse) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetName() string
- func (x *CreateUserRequest) GetPassword() string
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (x *CreateUserRequest) String() string
- type CreateUserResponse
- func (*CreateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserResponse) GetId() int64
- func (x *CreateUserResponse) GetName() string
- func (*CreateUserResponse) ProtoMessage()
- func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUserResponse) Reset()
- func (x *CreateUserResponse) String() string
- type DeleteMacroRequest
- type DeleteMacroResponse
- type DeleteUserKeyboardBindingRequest
- func (*DeleteUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserKeyboardBindingRequest) GetId() int64
- func (x *DeleteUserKeyboardBindingRequest) GetUserId() int64
- func (*DeleteUserKeyboardBindingRequest) ProtoMessage()
- func (x *DeleteUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserKeyboardBindingRequest) Reset()
- func (x *DeleteUserKeyboardBindingRequest) String() string
- type DeleteUserKeyboardBindingResponse
- func (*DeleteUserKeyboardBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteUserKeyboardBindingResponse) ProtoMessage()
- func (x *DeleteUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteUserKeyboardBindingResponse) Reset()
- func (x *DeleteUserKeyboardBindingResponse) String() string
- type GetMacroRequest
- type GetMacroResponse
- type GetUserByNameRequest
- func (*GetUserByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByNameRequest) GetName() string
- func (*GetUserByNameRequest) ProtoMessage()
- func (x *GetUserByNameRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserByNameRequest) Reset()
- func (x *GetUserByNameRequest) String() string
- type GetUserByNameResponse
- func (*GetUserByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserByNameResponse) GetId() int64
- func (x *GetUserByNameResponse) GetName() string
- func (*GetUserByNameResponse) ProtoMessage()
- func (x *GetUserByNameResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserByNameResponse) Reset()
- func (x *GetUserByNameResponse) String() string
- type GetUserKeyboardBindingRequest
- func (*GetUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeyboardBindingRequest) GetId() int64
- func (*GetUserKeyboardBindingRequest) ProtoMessage()
- func (x *GetUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserKeyboardBindingRequest) Reset()
- func (x *GetUserKeyboardBindingRequest) String() string
- type GetUserKeyboardBindingResponse
- func (*GetUserKeyboardBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserKeyboardBindingResponse) GetBinding() *UserKeyboardBinding
- func (*GetUserKeyboardBindingResponse) ProtoMessage()
- func (x *GetUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserKeyboardBindingResponse) Reset()
- func (x *GetUserKeyboardBindingResponse) String() string
- type GetUserRequest
- type GetUserResponse
- func (*GetUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserResponse) GetId() int64
- func (x *GetUserResponse) GetName() string
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type KeyboardBinding
- func (*KeyboardBinding) Descriptor() ([]byte, []int)deprecated
- func (x *KeyboardBinding) GetEmulatorKey() string
- func (x *KeyboardBinding) GetEmulatorKeyTranslated() string
- func (x *KeyboardBinding) GetKeyboardKey() string
- func (x *KeyboardBinding) GetKeyboardKeyTranslated() string
- func (*KeyboardBinding) ProtoMessage()
- func (x *KeyboardBinding) ProtoReflect() protoreflect.Message
- func (x *KeyboardBinding) Reset()
- func (x *KeyboardBinding) String() string
- type ListMacroRequest
- func (*ListMacroRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMacroRequest) GetPage() int32
- func (x *ListMacroRequest) GetPageSize() int32
- func (x *ListMacroRequest) GetUserId() int64
- func (*ListMacroRequest) ProtoMessage()
- func (x *ListMacroRequest) ProtoReflect() protoreflect.Message
- func (x *ListMacroRequest) Reset()
- func (x *ListMacroRequest) String() string
- type ListMacroResponse
- func (*ListMacroResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMacroResponse) GetMacros() []*Macro
- func (x *ListMacroResponse) GetTotal() int32
- func (*ListMacroResponse) ProtoMessage()
- func (x *ListMacroResponse) ProtoReflect() protoreflect.Message
- func (x *ListMacroResponse) Reset()
- func (x *ListMacroResponse) String() string
- type ListUserKeyboardBindingRequest
- func (*ListUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserKeyboardBindingRequest) GetPage() int32
- func (x *ListUserKeyboardBindingRequest) GetPageSize() int32
- func (x *ListUserKeyboardBindingRequest) GetUserId() int64
- func (*ListUserKeyboardBindingRequest) ProtoMessage()
- func (x *ListUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
- func (x *ListUserKeyboardBindingRequest) Reset()
- func (x *ListUserKeyboardBindingRequest) String() string
- type ListUserKeyboardBindingResponse
- func (*ListUserKeyboardBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserKeyboardBindingResponse) GetBindings() []*UserKeyboardBinding
- func (x *ListUserKeyboardBindingResponse) GetTotal() int32
- func (*ListUserKeyboardBindingResponse) ProtoMessage()
- func (x *ListUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
- func (x *ListUserKeyboardBindingResponse) Reset()
- func (x *ListUserKeyboardBindingResponse) String() string
- type Macro
- func (*Macro) Descriptor() ([]byte, []int)deprecated
- func (x *Macro) GetActions() []*MacroAction
- func (x *Macro) GetId() int64
- func (x *Macro) GetKeyboardKey() string
- func (x *Macro) GetName() string
- func (x *Macro) GetUserId() int64
- func (*Macro) ProtoMessage()
- func (x *Macro) ProtoReflect() protoreflect.Message
- func (x *Macro) Reset()
- func (x *Macro) String() string
- type MacroAction
- func (*MacroAction) Descriptor() ([]byte, []int)deprecated
- func (x *MacroAction) GetEmulatorKey() string
- func (x *MacroAction) GetReleaseDelay() int64
- func (*MacroAction) ProtoMessage()
- func (x *MacroAction) ProtoReflect() protoreflect.Message
- func (x *MacroAction) Reset()
- func (x *MacroAction) String() string
- type UnimplementedUserServer
- func (UnimplementedUserServer) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error)
- func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
- func (UnimplementedUserServer) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error)
- func (UnimplementedUserServer) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error)
- func (UnimplementedUserServer) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error)
- func (UnimplementedUserServer) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error)
- func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServer) GetUserByName(context.Context, *GetUserByNameRequest) (*GetUserByNameResponse, error)
- func (UnimplementedUserServer) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error)
- func (UnimplementedUserServer) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error)
- func (UnimplementedUserServer) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error)
- func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- func (UnimplementedUserServer) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error)
- func (UnimplementedUserServer) VerifyPassword(context.Context, *VerifyPasswordRequest) (*VerifyPasswordResponse, error)
- type UnsafeUserServer
- type UpdateUserKeyboardBindingRequest
- func (*UpdateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
- func (x *UpdateUserKeyboardBindingRequest) GetId() int64
- func (x *UpdateUserKeyboardBindingRequest) GetName() string
- func (x *UpdateUserKeyboardBindingRequest) GetUserId() int64
- func (*UpdateUserKeyboardBindingRequest) ProtoMessage()
- func (x *UpdateUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserKeyboardBindingRequest) Reset()
- func (x *UpdateUserKeyboardBindingRequest) String() string
- type UpdateUserKeyboardBindingResponse
- func (*UpdateUserKeyboardBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateUserKeyboardBindingResponse) ProtoMessage()
- func (x *UpdateUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserKeyboardBindingResponse) Reset()
- func (x *UpdateUserKeyboardBindingResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetId() int64
- func (x *UpdateUserRequest) GetName() string
- func (x *UpdateUserRequest) GetPassword() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- func (*UpdateUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserResponse) GetId() int64
- func (x *UpdateUserResponse) GetName() string
- func (*UpdateUserResponse) ProtoMessage()
- func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserResponse) Reset()
- func (x *UpdateUserResponse) String() string
- type UserClient
- type UserKeyboardBinding
- func (*UserKeyboardBinding) Descriptor() ([]byte, []int)deprecated
- func (x *UserKeyboardBinding) GetBindings() []*KeyboardBinding
- func (x *UserKeyboardBinding) GetId() int64
- func (x *UserKeyboardBinding) GetName() string
- func (x *UserKeyboardBinding) GetUserId() int64
- func (*UserKeyboardBinding) ProtoMessage()
- func (x *UserKeyboardBinding) ProtoReflect() protoreflect.Message
- func (x *UserKeyboardBinding) Reset()
- func (x *UserKeyboardBinding) String() string
- type UserServer
- type UserServiceErrorReason
- func (UserServiceErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x UserServiceErrorReason) Enum() *UserServiceErrorReason
- func (UserServiceErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserServiceErrorReason) Number() protoreflect.EnumNumber
- func (x UserServiceErrorReason) String() string
- func (UserServiceErrorReason) Type() protoreflect.EnumType
- type VerifyPasswordRequest
- func (*VerifyPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyPasswordRequest) GetName() string
- func (x *VerifyPasswordRequest) GetPassword() string
- func (*VerifyPasswordRequest) ProtoMessage()
- func (x *VerifyPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyPasswordRequest) Reset()
- func (x *VerifyPasswordRequest) String() string
- type VerifyPasswordResponse
Constants ¶
const ( User_CreateUser_FullMethodName = "/user.v1.User/CreateUser" User_GetUser_FullMethodName = "/user.v1.User/GetUser" User_GetUserByName_FullMethodName = "/user.v1.User/GetUserByName" User_UpdateUser_FullMethodName = "/user.v1.User/UpdateUser" User_VerifyPassword_FullMethodName = "/user.v1.User/VerifyPassword" User_CreateUserKeyboardBinding_FullMethodName = "/user.v1.User/CreateUserKeyboardBinding" User_ListUserKeyboardBinding_FullMethodName = "/user.v1.User/ListUserKeyboardBinding" User_GetUserKeyboardBinding_FullMethodName = "/user.v1.User/GetUserKeyboardBinding" User_UpdateUserKeyboardBinding_FullMethodName = "/user.v1.User/UpdateUserKeyboardBinding" User_DeleteUserKeyboardBinding_FullMethodName = "/user.v1.User/DeleteUserKeyboardBinding" User_CreateMacro_FullMethodName = "/user.v1.User/CreateMacro" User_GetMacro_FullMethodName = "/user.v1.User/GetMacro" User_ListMacro_FullMethodName = "/user.v1.User/ListMacro" User_DeleteMacro_FullMethodName = "/user.v1.User/DeleteMacro" )
Variables ¶
var ( UserServiceErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", 2: "USERNAME_CONFLICT", 3: "USER_NOT_FOUND", 4: "VERIFY_PASSWORD_FAILED", 5: "CREATE_KEYBOARD_BINDING_FAILED", 6: "UPDATE_KEYBOARD_BINDING_FAILED", 7: "DELETE_KEYBOARD_BINDING_FAILED", 8: "CREATE_MACRO_FAILED", 9: "GET_MACRO_FAILED", 10: "DELETE_MACRO_FAILED", } UserServiceErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, "USERNAME_CONFLICT": 2, "USER_NOT_FOUND": 3, "VERIFY_PASSWORD_FAILED": 4, "CREATE_KEYBOARD_BINDING_FAILED": 5, "UPDATE_KEYBOARD_BINDING_FAILED": 6, "DELETE_KEYBOARD_BINDING_FAILED": 7, "CREATE_MACRO_FAILED": 8, "GET_MACRO_FAILED": 9, "DELETE_MACRO_FAILED": 10, } )
Enum value maps for UserServiceErrorReason.
var File_user_service_v1_user_error_proto protoreflect.FileDescriptor
var File_user_service_v1_user_proto protoreflect.FileDescriptor
var User_ServiceDesc = grpc.ServiceDesc{ ServiceName: "user.v1.User", HandlerType: (*UserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateUser", Handler: _User_CreateUser_Handler, }, { MethodName: "GetUser", Handler: _User_GetUser_Handler, }, { MethodName: "GetUserByName", Handler: _User_GetUserByName_Handler, }, { MethodName: "UpdateUser", Handler: _User_UpdateUser_Handler, }, { MethodName: "VerifyPassword", Handler: _User_VerifyPassword_Handler, }, { MethodName: "CreateUserKeyboardBinding", Handler: _User_CreateUserKeyboardBinding_Handler, }, { MethodName: "ListUserKeyboardBinding", Handler: _User_ListUserKeyboardBinding_Handler, }, { MethodName: "GetUserKeyboardBinding", Handler: _User_GetUserKeyboardBinding_Handler, }, { MethodName: "UpdateUserKeyboardBinding", Handler: _User_UpdateUserKeyboardBinding_Handler, }, { MethodName: "DeleteUserKeyboardBinding", Handler: _User_DeleteUserKeyboardBinding_Handler, }, { MethodName: "CreateMacro", Handler: _User_CreateMacro_Handler, }, { MethodName: "GetMacro", Handler: _User_GetMacro_Handler, }, { MethodName: "ListMacro", Handler: _User_ListMacro_Handler, }, { MethodName: "DeleteMacro", Handler: _User_DeleteMacro_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "user/service/v1/user.proto", }
User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorCreateMacroFailed ¶
func ErrorDeleteMacroFailed ¶
func ErrorGetMacroFailed ¶
func ErrorUnknownError ¶
func ErrorUserNotFound ¶
func ErrorUsernameConflict ¶
func IsCreateMacroFailed ¶
func IsDeleteMacroFailed ¶
func IsGetMacroFailed ¶
func IsUnknownError ¶
func IsUserNotFound ¶
func IsUsernameConflict ¶
func IsVerifyPasswordFailed ¶
func RegisterUserServer ¶
func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)
Types ¶
type CreateMacroRequest ¶
type CreateMacroRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` KeyboardKey string `protobuf:"bytes,3,opt,name=keyboardKey,proto3" json:"keyboardKey,omitempty"` Actions []*MacroAction `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*CreateMacroRequest) Descriptor
deprecated
func (*CreateMacroRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateMacroRequest.ProtoReflect.Descriptor instead.
func (*CreateMacroRequest) GetActions ¶
func (x *CreateMacroRequest) GetActions() []*MacroAction
func (*CreateMacroRequest) GetKeyboardKey ¶
func (x *CreateMacroRequest) GetKeyboardKey() string
func (*CreateMacroRequest) GetName ¶
func (x *CreateMacroRequest) GetName() string
func (*CreateMacroRequest) GetUserId ¶
func (x *CreateMacroRequest) GetUserId() int64
func (*CreateMacroRequest) ProtoMessage ¶
func (*CreateMacroRequest) ProtoMessage()
func (*CreateMacroRequest) ProtoReflect ¶
func (x *CreateMacroRequest) ProtoReflect() protoreflect.Message
func (*CreateMacroRequest) Reset ¶
func (x *CreateMacroRequest) Reset()
func (*CreateMacroRequest) String ¶
func (x *CreateMacroRequest) String() string
type CreateMacroResponse ¶
type CreateMacroResponse struct {
// contains filtered or unexported fields
}
func (*CreateMacroResponse) Descriptor
deprecated
func (*CreateMacroResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateMacroResponse.ProtoReflect.Descriptor instead.
func (*CreateMacroResponse) ProtoMessage ¶
func (*CreateMacroResponse) ProtoMessage()
func (*CreateMacroResponse) ProtoReflect ¶
func (x *CreateMacroResponse) ProtoReflect() protoreflect.Message
func (*CreateMacroResponse) Reset ¶
func (x *CreateMacroResponse) Reset()
func (*CreateMacroResponse) String ¶
func (x *CreateMacroResponse) String() string
type CreateUserKeyboardBindingRequest ¶
type CreateUserKeyboardBindingRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Bindings []*KeyboardBinding `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty"` // contains filtered or unexported fields }
func (*CreateUserKeyboardBindingRequest) Descriptor
deprecated
func (*CreateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserKeyboardBindingRequest.ProtoReflect.Descriptor instead.
func (*CreateUserKeyboardBindingRequest) GetBindings ¶
func (x *CreateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
func (*CreateUserKeyboardBindingRequest) GetName ¶
func (x *CreateUserKeyboardBindingRequest) GetName() string
func (*CreateUserKeyboardBindingRequest) GetUserId ¶
func (x *CreateUserKeyboardBindingRequest) GetUserId() int64
func (*CreateUserKeyboardBindingRequest) ProtoMessage ¶
func (*CreateUserKeyboardBindingRequest) ProtoMessage()
func (*CreateUserKeyboardBindingRequest) ProtoReflect ¶
func (x *CreateUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
func (*CreateUserKeyboardBindingRequest) Reset ¶
func (x *CreateUserKeyboardBindingRequest) Reset()
func (*CreateUserKeyboardBindingRequest) String ¶
func (x *CreateUserKeyboardBindingRequest) String() string
type CreateUserKeyboardBindingResponse ¶
type CreateUserKeyboardBindingResponse struct {
// contains filtered or unexported fields
}
func (*CreateUserKeyboardBindingResponse) Descriptor
deprecated
func (*CreateUserKeyboardBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserKeyboardBindingResponse.ProtoReflect.Descriptor instead.
func (*CreateUserKeyboardBindingResponse) ProtoMessage ¶
func (*CreateUserKeyboardBindingResponse) ProtoMessage()
func (*CreateUserKeyboardBindingResponse) ProtoReflect ¶
func (x *CreateUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
func (*CreateUserKeyboardBindingResponse) Reset ¶
func (x *CreateUserKeyboardBindingResponse) Reset()
func (*CreateUserKeyboardBindingResponse) String ¶
func (x *CreateUserKeyboardBindingResponse) String() string
type CreateUserRequest ¶
type CreateUserRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*CreateUserRequest) Descriptor
deprecated
func (*CreateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) GetName ¶
func (x *CreateUserRequest) GetName() string
func (*CreateUserRequest) GetPassword ¶
func (x *CreateUserRequest) GetPassword() string
func (*CreateUserRequest) ProtoMessage ¶
func (*CreateUserRequest) ProtoMessage()
func (*CreateUserRequest) ProtoReflect ¶
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
func (*CreateUserRequest) Reset ¶
func (x *CreateUserRequest) Reset()
func (*CreateUserRequest) String ¶
func (x *CreateUserRequest) String() string
type CreateUserResponse ¶
type CreateUserResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateUserResponse) Descriptor
deprecated
func (*CreateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) GetId ¶
func (x *CreateUserResponse) GetId() int64
func (*CreateUserResponse) GetName ¶
func (x *CreateUserResponse) GetName() string
func (*CreateUserResponse) ProtoMessage ¶
func (*CreateUserResponse) ProtoMessage()
func (*CreateUserResponse) ProtoReflect ¶
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message
func (*CreateUserResponse) Reset ¶
func (x *CreateUserResponse) Reset()
func (*CreateUserResponse) String ¶
func (x *CreateUserResponse) String() string
type DeleteMacroRequest ¶
type DeleteMacroRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteMacroRequest) Descriptor
deprecated
func (*DeleteMacroRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMacroRequest.ProtoReflect.Descriptor instead.
func (*DeleteMacroRequest) GetId ¶
func (x *DeleteMacroRequest) GetId() int64
func (*DeleteMacroRequest) ProtoMessage ¶
func (*DeleteMacroRequest) ProtoMessage()
func (*DeleteMacroRequest) ProtoReflect ¶
func (x *DeleteMacroRequest) ProtoReflect() protoreflect.Message
func (*DeleteMacroRequest) Reset ¶
func (x *DeleteMacroRequest) Reset()
func (*DeleteMacroRequest) String ¶
func (x *DeleteMacroRequest) String() string
type DeleteMacroResponse ¶
type DeleteMacroResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMacroResponse) Descriptor
deprecated
func (*DeleteMacroResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMacroResponse.ProtoReflect.Descriptor instead.
func (*DeleteMacroResponse) ProtoMessage ¶
func (*DeleteMacroResponse) ProtoMessage()
func (*DeleteMacroResponse) ProtoReflect ¶
func (x *DeleteMacroResponse) ProtoReflect() protoreflect.Message
func (*DeleteMacroResponse) Reset ¶
func (x *DeleteMacroResponse) Reset()
func (*DeleteMacroResponse) String ¶
func (x *DeleteMacroResponse) String() string
type DeleteUserKeyboardBindingRequest ¶
type DeleteUserKeyboardBindingRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*DeleteUserKeyboardBindingRequest) Descriptor
deprecated
func (*DeleteUserKeyboardBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserKeyboardBindingRequest.ProtoReflect.Descriptor instead.
func (*DeleteUserKeyboardBindingRequest) GetId ¶
func (x *DeleteUserKeyboardBindingRequest) GetId() int64
func (*DeleteUserKeyboardBindingRequest) GetUserId ¶
func (x *DeleteUserKeyboardBindingRequest) GetUserId() int64
func (*DeleteUserKeyboardBindingRequest) ProtoMessage ¶
func (*DeleteUserKeyboardBindingRequest) ProtoMessage()
func (*DeleteUserKeyboardBindingRequest) ProtoReflect ¶
func (x *DeleteUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
func (*DeleteUserKeyboardBindingRequest) Reset ¶
func (x *DeleteUserKeyboardBindingRequest) Reset()
func (*DeleteUserKeyboardBindingRequest) String ¶
func (x *DeleteUserKeyboardBindingRequest) String() string
type DeleteUserKeyboardBindingResponse ¶
type DeleteUserKeyboardBindingResponse struct {
// contains filtered or unexported fields
}
func (*DeleteUserKeyboardBindingResponse) Descriptor
deprecated
func (*DeleteUserKeyboardBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUserKeyboardBindingResponse.ProtoReflect.Descriptor instead.
func (*DeleteUserKeyboardBindingResponse) ProtoMessage ¶
func (*DeleteUserKeyboardBindingResponse) ProtoMessage()
func (*DeleteUserKeyboardBindingResponse) ProtoReflect ¶
func (x *DeleteUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
func (*DeleteUserKeyboardBindingResponse) Reset ¶
func (x *DeleteUserKeyboardBindingResponse) Reset()
func (*DeleteUserKeyboardBindingResponse) String ¶
func (x *DeleteUserKeyboardBindingResponse) String() string
type GetMacroRequest ¶
type GetMacroRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetMacroRequest) Descriptor
deprecated
func (*GetMacroRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMacroRequest.ProtoReflect.Descriptor instead.
func (*GetMacroRequest) GetId ¶
func (x *GetMacroRequest) GetId() int64
func (*GetMacroRequest) ProtoMessage ¶
func (*GetMacroRequest) ProtoMessage()
func (*GetMacroRequest) ProtoReflect ¶
func (x *GetMacroRequest) ProtoReflect() protoreflect.Message
func (*GetMacroRequest) Reset ¶
func (x *GetMacroRequest) Reset()
func (*GetMacroRequest) String ¶
func (x *GetMacroRequest) String() string
type GetMacroResponse ¶
type GetMacroResponse struct { Macro *Macro `protobuf:"bytes,1,opt,name=macro,proto3" json:"macro,omitempty"` // contains filtered or unexported fields }
func (*GetMacroResponse) Descriptor
deprecated
func (*GetMacroResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMacroResponse.ProtoReflect.Descriptor instead.
func (*GetMacroResponse) GetMacro ¶
func (x *GetMacroResponse) GetMacro() *Macro
func (*GetMacroResponse) ProtoMessage ¶
func (*GetMacroResponse) ProtoMessage()
func (*GetMacroResponse) ProtoReflect ¶
func (x *GetMacroResponse) ProtoReflect() protoreflect.Message
func (*GetMacroResponse) Reset ¶
func (x *GetMacroResponse) Reset()
func (*GetMacroResponse) String ¶
func (x *GetMacroResponse) String() string
type GetUserByNameRequest ¶
type GetUserByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserByNameRequest) Descriptor
deprecated
func (*GetUserByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByNameRequest.ProtoReflect.Descriptor instead.
func (*GetUserByNameRequest) GetName ¶
func (x *GetUserByNameRequest) GetName() string
func (*GetUserByNameRequest) ProtoMessage ¶
func (*GetUserByNameRequest) ProtoMessage()
func (*GetUserByNameRequest) ProtoReflect ¶
func (x *GetUserByNameRequest) ProtoReflect() protoreflect.Message
func (*GetUserByNameRequest) Reset ¶
func (x *GetUserByNameRequest) Reset()
func (*GetUserByNameRequest) String ¶
func (x *GetUserByNameRequest) String() string
type GetUserByNameResponse ¶
type GetUserByNameResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserByNameResponse) Descriptor
deprecated
func (*GetUserByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserByNameResponse.ProtoReflect.Descriptor instead.
func (*GetUserByNameResponse) GetId ¶
func (x *GetUserByNameResponse) GetId() int64
func (*GetUserByNameResponse) GetName ¶
func (x *GetUserByNameResponse) GetName() string
func (*GetUserByNameResponse) ProtoMessage ¶
func (*GetUserByNameResponse) ProtoMessage()
func (*GetUserByNameResponse) ProtoReflect ¶
func (x *GetUserByNameResponse) ProtoReflect() protoreflect.Message
func (*GetUserByNameResponse) Reset ¶
func (x *GetUserByNameResponse) Reset()
func (*GetUserByNameResponse) String ¶
func (x *GetUserByNameResponse) String() string
type GetUserKeyboardBindingRequest ¶
type GetUserKeyboardBindingRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserKeyboardBindingRequest) Descriptor
deprecated
func (*GetUserKeyboardBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeyboardBindingRequest.ProtoReflect.Descriptor instead.
func (*GetUserKeyboardBindingRequest) GetId ¶
func (x *GetUserKeyboardBindingRequest) GetId() int64
func (*GetUserKeyboardBindingRequest) ProtoMessage ¶
func (*GetUserKeyboardBindingRequest) ProtoMessage()
func (*GetUserKeyboardBindingRequest) ProtoReflect ¶
func (x *GetUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
func (*GetUserKeyboardBindingRequest) Reset ¶
func (x *GetUserKeyboardBindingRequest) Reset()
func (*GetUserKeyboardBindingRequest) String ¶
func (x *GetUserKeyboardBindingRequest) String() string
type GetUserKeyboardBindingResponse ¶
type GetUserKeyboardBindingResponse struct { Binding *UserKeyboardBinding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"` // contains filtered or unexported fields }
func (*GetUserKeyboardBindingResponse) Descriptor
deprecated
func (*GetUserKeyboardBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserKeyboardBindingResponse.ProtoReflect.Descriptor instead.
func (*GetUserKeyboardBindingResponse) GetBinding ¶
func (x *GetUserKeyboardBindingResponse) GetBinding() *UserKeyboardBinding
func (*GetUserKeyboardBindingResponse) ProtoMessage ¶
func (*GetUserKeyboardBindingResponse) ProtoMessage()
func (*GetUserKeyboardBindingResponse) ProtoReflect ¶
func (x *GetUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
func (*GetUserKeyboardBindingResponse) Reset ¶
func (x *GetUserKeyboardBindingResponse) Reset()
func (*GetUserKeyboardBindingResponse) String ¶
func (x *GetUserKeyboardBindingResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() int64
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetId ¶
func (x *GetUserResponse) GetId() int64
func (*GetUserResponse) GetName ¶
func (x *GetUserResponse) GetName() string
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type KeyboardBinding ¶
type KeyboardBinding struct { KeyboardKey string `protobuf:"bytes,1,opt,name=keyboardKey,proto3" json:"keyboardKey,omitempty"` EmulatorKey string `protobuf:"bytes,2,opt,name=emulatorKey,proto3" json:"emulatorKey,omitempty"` KeyboardKeyTranslated string `protobuf:"bytes,3,opt,name=keyboardKeyTranslated,proto3" json:"keyboardKeyTranslated,omitempty"` EmulatorKeyTranslated string `protobuf:"bytes,4,opt,name=emulatorKeyTranslated,proto3" json:"emulatorKeyTranslated,omitempty"` // contains filtered or unexported fields }
func (*KeyboardBinding) Descriptor
deprecated
func (*KeyboardBinding) Descriptor() ([]byte, []int)
Deprecated: Use KeyboardBinding.ProtoReflect.Descriptor instead.
func (*KeyboardBinding) GetEmulatorKey ¶
func (x *KeyboardBinding) GetEmulatorKey() string
func (*KeyboardBinding) GetEmulatorKeyTranslated ¶
func (x *KeyboardBinding) GetEmulatorKeyTranslated() string
func (*KeyboardBinding) GetKeyboardKey ¶
func (x *KeyboardBinding) GetKeyboardKey() string
func (*KeyboardBinding) GetKeyboardKeyTranslated ¶
func (x *KeyboardBinding) GetKeyboardKeyTranslated() string
func (*KeyboardBinding) ProtoMessage ¶
func (*KeyboardBinding) ProtoMessage()
func (*KeyboardBinding) ProtoReflect ¶
func (x *KeyboardBinding) ProtoReflect() protoreflect.Message
func (*KeyboardBinding) Reset ¶
func (x *KeyboardBinding) Reset()
func (*KeyboardBinding) String ¶
func (x *KeyboardBinding) String() string
type ListMacroRequest ¶
type ListMacroRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*ListMacroRequest) Descriptor
deprecated
func (*ListMacroRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMacroRequest.ProtoReflect.Descriptor instead.
func (*ListMacroRequest) GetPage ¶
func (x *ListMacroRequest) GetPage() int32
func (*ListMacroRequest) GetPageSize ¶
func (x *ListMacroRequest) GetPageSize() int32
func (*ListMacroRequest) GetUserId ¶
func (x *ListMacroRequest) GetUserId() int64
func (*ListMacroRequest) ProtoMessage ¶
func (*ListMacroRequest) ProtoMessage()
func (*ListMacroRequest) ProtoReflect ¶
func (x *ListMacroRequest) ProtoReflect() protoreflect.Message
func (*ListMacroRequest) Reset ¶
func (x *ListMacroRequest) Reset()
func (*ListMacroRequest) String ¶
func (x *ListMacroRequest) String() string
type ListMacroResponse ¶
type ListMacroResponse struct { Macros []*Macro `protobuf:"bytes,1,rep,name=macros,proto3" json:"macros,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListMacroResponse) Descriptor
deprecated
func (*ListMacroResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMacroResponse.ProtoReflect.Descriptor instead.
func (*ListMacroResponse) GetMacros ¶
func (x *ListMacroResponse) GetMacros() []*Macro
func (*ListMacroResponse) GetTotal ¶
func (x *ListMacroResponse) GetTotal() int32
func (*ListMacroResponse) ProtoMessage ¶
func (*ListMacroResponse) ProtoMessage()
func (*ListMacroResponse) ProtoReflect ¶
func (x *ListMacroResponse) ProtoReflect() protoreflect.Message
func (*ListMacroResponse) Reset ¶
func (x *ListMacroResponse) Reset()
func (*ListMacroResponse) String ¶
func (x *ListMacroResponse) String() string
type ListUserKeyboardBindingRequest ¶
type ListUserKeyboardBindingRequest struct { UserId int64 `protobuf:"varint,1,opt,name=userId,proto3" json:"userId,omitempty"` Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*ListUserKeyboardBindingRequest) Descriptor
deprecated
func (*ListUserKeyboardBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUserKeyboardBindingRequest.ProtoReflect.Descriptor instead.
func (*ListUserKeyboardBindingRequest) GetPage ¶
func (x *ListUserKeyboardBindingRequest) GetPage() int32
func (*ListUserKeyboardBindingRequest) GetPageSize ¶
func (x *ListUserKeyboardBindingRequest) GetPageSize() int32
func (*ListUserKeyboardBindingRequest) GetUserId ¶
func (x *ListUserKeyboardBindingRequest) GetUserId() int64
func (*ListUserKeyboardBindingRequest) ProtoMessage ¶
func (*ListUserKeyboardBindingRequest) ProtoMessage()
func (*ListUserKeyboardBindingRequest) ProtoReflect ¶
func (x *ListUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
func (*ListUserKeyboardBindingRequest) Reset ¶
func (x *ListUserKeyboardBindingRequest) Reset()
func (*ListUserKeyboardBindingRequest) String ¶
func (x *ListUserKeyboardBindingRequest) String() string
type ListUserKeyboardBindingResponse ¶
type ListUserKeyboardBindingResponse struct { Bindings []*UserKeyboardBinding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListUserKeyboardBindingResponse) Descriptor
deprecated
func (*ListUserKeyboardBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUserKeyboardBindingResponse.ProtoReflect.Descriptor instead.
func (*ListUserKeyboardBindingResponse) GetBindings ¶
func (x *ListUserKeyboardBindingResponse) GetBindings() []*UserKeyboardBinding
func (*ListUserKeyboardBindingResponse) GetTotal ¶
func (x *ListUserKeyboardBindingResponse) GetTotal() int32
func (*ListUserKeyboardBindingResponse) ProtoMessage ¶
func (*ListUserKeyboardBindingResponse) ProtoMessage()
func (*ListUserKeyboardBindingResponse) ProtoReflect ¶
func (x *ListUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
func (*ListUserKeyboardBindingResponse) Reset ¶
func (x *ListUserKeyboardBindingResponse) Reset()
func (*ListUserKeyboardBindingResponse) String ¶
func (x *ListUserKeyboardBindingResponse) String() string
type Macro ¶
type Macro struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` KeyboardKey string `protobuf:"bytes,4,opt,name=keyboardKey,proto3" json:"keyboardKey,omitempty"` Actions []*MacroAction `protobuf:"bytes,5,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*Macro) Descriptor
deprecated
func (*Macro) GetActions ¶
func (x *Macro) GetActions() []*MacroAction
func (*Macro) GetKeyboardKey ¶
func (*Macro) ProtoMessage ¶
func (*Macro) ProtoMessage()
func (*Macro) ProtoReflect ¶
func (x *Macro) ProtoReflect() protoreflect.Message
type MacroAction ¶
type MacroAction struct { EmulatorKey string `protobuf:"bytes,1,opt,name=emulatorKey,proto3" json:"emulatorKey,omitempty"` ReleaseDelay int64 `protobuf:"varint,2,opt,name=releaseDelay,proto3" json:"releaseDelay,omitempty"` // contains filtered or unexported fields }
func (*MacroAction) Descriptor
deprecated
func (*MacroAction) Descriptor() ([]byte, []int)
Deprecated: Use MacroAction.ProtoReflect.Descriptor instead.
func (*MacroAction) GetEmulatorKey ¶
func (x *MacroAction) GetEmulatorKey() string
func (*MacroAction) GetReleaseDelay ¶
func (x *MacroAction) GetReleaseDelay() int64
func (*MacroAction) ProtoMessage ¶
func (*MacroAction) ProtoMessage()
func (*MacroAction) ProtoReflect ¶
func (x *MacroAction) ProtoReflect() protoreflect.Message
func (*MacroAction) Reset ¶
func (x *MacroAction) Reset()
func (*MacroAction) String ¶
func (x *MacroAction) String() string
type UnimplementedUserServer ¶
type UnimplementedUserServer struct{}
UnimplementedUserServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServer) CreateMacro ¶
func (UnimplementedUserServer) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error)
func (UnimplementedUserServer) CreateUser ¶
func (UnimplementedUserServer) CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error)
func (UnimplementedUserServer) CreateUserKeyboardBinding ¶
func (UnimplementedUserServer) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error)
func (UnimplementedUserServer) DeleteMacro ¶
func (UnimplementedUserServer) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error)
func (UnimplementedUserServer) DeleteUserKeyboardBinding ¶
func (UnimplementedUserServer) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error)
func (UnimplementedUserServer) GetMacro ¶
func (UnimplementedUserServer) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error)
func (UnimplementedUserServer) GetUser ¶
func (UnimplementedUserServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServer) GetUserByName ¶
func (UnimplementedUserServer) GetUserByName(context.Context, *GetUserByNameRequest) (*GetUserByNameResponse, error)
func (UnimplementedUserServer) GetUserKeyboardBinding ¶
func (UnimplementedUserServer) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error)
func (UnimplementedUserServer) ListMacro ¶
func (UnimplementedUserServer) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error)
func (UnimplementedUserServer) ListUserKeyboardBinding ¶
func (UnimplementedUserServer) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error)
func (UnimplementedUserServer) UpdateUser ¶
func (UnimplementedUserServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
func (UnimplementedUserServer) UpdateUserKeyboardBinding ¶
func (UnimplementedUserServer) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error)
func (UnimplementedUserServer) VerifyPassword ¶
func (UnimplementedUserServer) VerifyPassword(context.Context, *VerifyPasswordRequest) (*VerifyPasswordResponse, error)
type UnsafeUserServer ¶
type UnsafeUserServer interface {
// contains filtered or unexported methods
}
UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.
type UpdateUserKeyboardBindingRequest ¶
type UpdateUserKeyboardBindingRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Bindings []*KeyboardBinding `protobuf:"bytes,4,rep,name=bindings,proto3" json:"bindings,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserKeyboardBindingRequest) Descriptor
deprecated
func (*UpdateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserKeyboardBindingRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserKeyboardBindingRequest) GetBindings ¶
func (x *UpdateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
func (*UpdateUserKeyboardBindingRequest) GetId ¶
func (x *UpdateUserKeyboardBindingRequest) GetId() int64
func (*UpdateUserKeyboardBindingRequest) GetName ¶
func (x *UpdateUserKeyboardBindingRequest) GetName() string
func (*UpdateUserKeyboardBindingRequest) GetUserId ¶
func (x *UpdateUserKeyboardBindingRequest) GetUserId() int64
func (*UpdateUserKeyboardBindingRequest) ProtoMessage ¶
func (*UpdateUserKeyboardBindingRequest) ProtoMessage()
func (*UpdateUserKeyboardBindingRequest) ProtoReflect ¶
func (x *UpdateUserKeyboardBindingRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserKeyboardBindingRequest) Reset ¶
func (x *UpdateUserKeyboardBindingRequest) Reset()
func (*UpdateUserKeyboardBindingRequest) String ¶
func (x *UpdateUserKeyboardBindingRequest) String() string
type UpdateUserKeyboardBindingResponse ¶
type UpdateUserKeyboardBindingResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserKeyboardBindingResponse) Descriptor
deprecated
func (*UpdateUserKeyboardBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserKeyboardBindingResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserKeyboardBindingResponse) ProtoMessage ¶
func (*UpdateUserKeyboardBindingResponse) ProtoMessage()
func (*UpdateUserKeyboardBindingResponse) ProtoReflect ¶
func (x *UpdateUserKeyboardBindingResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserKeyboardBindingResponse) Reset ¶
func (x *UpdateUserKeyboardBindingResponse) Reset()
func (*UpdateUserKeyboardBindingResponse) String ¶
func (x *UpdateUserKeyboardBindingResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() int64
func (*UpdateUserRequest) GetName ¶
func (x *UpdateUserRequest) GetName() string
func (*UpdateUserRequest) GetPassword ¶
func (x *UpdateUserRequest) GetPassword() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) GetId ¶
func (x *UpdateUserResponse) GetId() int64
func (*UpdateUserResponse) GetName ¶
func (x *UpdateUserResponse) GetName() string
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type UserClient ¶
type UserClient interface { CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) GetUserByName(ctx context.Context, in *GetUserByNameRequest, opts ...grpc.CallOption) (*GetUserByNameResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) VerifyPassword(ctx context.Context, in *VerifyPasswordRequest, opts ...grpc.CallOption) (*VerifyPasswordResponse, error) CreateUserKeyboardBinding(ctx context.Context, in *CreateUserKeyboardBindingRequest, opts ...grpc.CallOption) (*CreateUserKeyboardBindingResponse, error) ListUserKeyboardBinding(ctx context.Context, in *ListUserKeyboardBindingRequest, opts ...grpc.CallOption) (*ListUserKeyboardBindingResponse, error) GetUserKeyboardBinding(ctx context.Context, in *GetUserKeyboardBindingRequest, opts ...grpc.CallOption) (*GetUserKeyboardBindingResponse, error) UpdateUserKeyboardBinding(ctx context.Context, in *UpdateUserKeyboardBindingRequest, opts ...grpc.CallOption) (*UpdateUserKeyboardBindingResponse, error) DeleteUserKeyboardBinding(ctx context.Context, in *DeleteUserKeyboardBindingRequest, opts ...grpc.CallOption) (*DeleteUserKeyboardBindingResponse, error) CreateMacro(ctx context.Context, in *CreateMacroRequest, opts ...grpc.CallOption) (*CreateMacroResponse, error) GetMacro(ctx context.Context, in *GetMacroRequest, opts ...grpc.CallOption) (*GetMacroResponse, error) ListMacro(ctx context.Context, in *ListMacroRequest, opts ...grpc.CallOption) (*ListMacroResponse, error) DeleteMacro(ctx context.Context, in *DeleteMacroRequest, opts ...grpc.CallOption) (*DeleteMacroResponse, error) }
UserClient is the client API for User service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserClient ¶
func NewUserClient(cc grpc.ClientConnInterface) UserClient
type UserKeyboardBinding ¶
type UserKeyboardBinding struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Bindings []*KeyboardBinding `protobuf:"bytes,4,rep,name=bindings,proto3" json:"bindings,omitempty"` // contains filtered or unexported fields }
func (*UserKeyboardBinding) Descriptor
deprecated
func (*UserKeyboardBinding) Descriptor() ([]byte, []int)
Deprecated: Use UserKeyboardBinding.ProtoReflect.Descriptor instead.
func (*UserKeyboardBinding) GetBindings ¶
func (x *UserKeyboardBinding) GetBindings() []*KeyboardBinding
func (*UserKeyboardBinding) GetId ¶
func (x *UserKeyboardBinding) GetId() int64
func (*UserKeyboardBinding) GetName ¶
func (x *UserKeyboardBinding) GetName() string
func (*UserKeyboardBinding) GetUserId ¶
func (x *UserKeyboardBinding) GetUserId() int64
func (*UserKeyboardBinding) ProtoMessage ¶
func (*UserKeyboardBinding) ProtoMessage()
func (*UserKeyboardBinding) ProtoReflect ¶
func (x *UserKeyboardBinding) ProtoReflect() protoreflect.Message
func (*UserKeyboardBinding) Reset ¶
func (x *UserKeyboardBinding) Reset()
func (*UserKeyboardBinding) String ¶
func (x *UserKeyboardBinding) String() string
type UserServer ¶
type UserServer interface { CreateUser(context.Context, *CreateUserRequest) (*CreateUserResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetUserByName(context.Context, *GetUserByNameRequest) (*GetUserByNameResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) VerifyPassword(context.Context, *VerifyPasswordRequest) (*VerifyPasswordResponse, error) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error) // contains filtered or unexported methods }
UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility.
type UserServiceErrorReason ¶
type UserServiceErrorReason int32
const ( UserServiceErrorReason_UNKNOWN_ERROR UserServiceErrorReason = 0 UserServiceErrorReason_USERNAME_CONFLICT UserServiceErrorReason = 2 UserServiceErrorReason_USER_NOT_FOUND UserServiceErrorReason = 3 UserServiceErrorReason_VERIFY_PASSWORD_FAILED UserServiceErrorReason = 4 UserServiceErrorReason_CREATE_KEYBOARD_BINDING_FAILED UserServiceErrorReason = 5 UserServiceErrorReason_UPDATE_KEYBOARD_BINDING_FAILED UserServiceErrorReason = 6 UserServiceErrorReason_DELETE_KEYBOARD_BINDING_FAILED UserServiceErrorReason = 7 UserServiceErrorReason_CREATE_MACRO_FAILED UserServiceErrorReason = 8 UserServiceErrorReason_GET_MACRO_FAILED UserServiceErrorReason = 9 UserServiceErrorReason_DELETE_MACRO_FAILED UserServiceErrorReason = 10 )
func (UserServiceErrorReason) Descriptor ¶
func (UserServiceErrorReason) Descriptor() protoreflect.EnumDescriptor
func (UserServiceErrorReason) Enum ¶
func (x UserServiceErrorReason) Enum() *UserServiceErrorReason
func (UserServiceErrorReason) EnumDescriptor
deprecated
func (UserServiceErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserServiceErrorReason.Descriptor instead.
func (UserServiceErrorReason) Number ¶
func (x UserServiceErrorReason) Number() protoreflect.EnumNumber
func (UserServiceErrorReason) String ¶
func (x UserServiceErrorReason) String() string
func (UserServiceErrorReason) Type ¶
func (UserServiceErrorReason) Type() protoreflect.EnumType
type VerifyPasswordRequest ¶
type VerifyPasswordRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*VerifyPasswordRequest) Descriptor
deprecated
func (*VerifyPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPasswordRequest.ProtoReflect.Descriptor instead.
func (*VerifyPasswordRequest) GetName ¶
func (x *VerifyPasswordRequest) GetName() string
func (*VerifyPasswordRequest) GetPassword ¶
func (x *VerifyPasswordRequest) GetPassword() string
func (*VerifyPasswordRequest) ProtoMessage ¶
func (*VerifyPasswordRequest) ProtoMessage()
func (*VerifyPasswordRequest) ProtoReflect ¶
func (x *VerifyPasswordRequest) ProtoReflect() protoreflect.Message
func (*VerifyPasswordRequest) Reset ¶
func (x *VerifyPasswordRequest) Reset()
func (*VerifyPasswordRequest) String ¶
func (x *VerifyPasswordRequest) String() string
type VerifyPasswordResponse ¶
type VerifyPasswordResponse struct {
// contains filtered or unexported fields
}
func (*VerifyPasswordResponse) Descriptor
deprecated
func (*VerifyPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyPasswordResponse.ProtoReflect.Descriptor instead.
func (*VerifyPasswordResponse) ProtoMessage ¶
func (*VerifyPasswordResponse) ProtoMessage()
func (*VerifyPasswordResponse) ProtoReflect ¶
func (x *VerifyPasswordResponse) ProtoReflect() protoreflect.Message
func (*VerifyPasswordResponse) Reset ¶
func (x *VerifyPasswordResponse) Reset()
func (*VerifyPasswordResponse) String ¶
func (x *VerifyPasswordResponse) String() string