Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorLoginFailed(format string, args ...interface{}) *errors.Error
- func ErrorOperationFailed(format string, args ...interface{}) *errors.Error
- func ErrorRegisterFailed(format string, args ...interface{}) *errors.Error
- func ErrorUnknownError(format string, args ...interface{}) *errors.Error
- func ErrorUsernameConflict(format string, args ...interface{}) *errors.Error
- func IsLoginFailed(err error) bool
- func IsOperationFailed(err error) bool
- func IsRegisterFailed(err error) bool
- func IsUnknownError(err error) bool
- func IsUsernameConflict(err error) bool
- func RegisterWebApiHTTPServer(s *http.Server, srv WebApiHTTPServer)
- func RegisterWebApiServer(s grpc.ServiceRegistrar, srv WebApiServer)
- type AddICECandidateRequest
- func (*AddICECandidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddICECandidateRequest) GetCandidate() string
- func (x *AddICECandidateRequest) GetRoomId() int64
- func (x *AddICECandidateRequest) GetUserId() int64
- func (*AddICECandidateRequest) ProtoMessage()
- func (x *AddICECandidateRequest) ProtoReflect() protoreflect.Message
- func (x *AddICECandidateRequest) Reset()
- func (x *AddICECandidateRequest) String() string
- type AddICECandidateResponse
- func (*AddICECandidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddICECandidateResponse) GetRoomId() int64
- func (x *AddICECandidateResponse) GetUserId() int64
- func (*AddICECandidateResponse) ProtoMessage()
- func (x *AddICECandidateResponse) ProtoReflect() protoreflect.Message
- func (x *AddICECandidateResponse) Reset()
- func (x *AddICECandidateResponse) String() string
- type CreateMacroRequest
- func (*CreateMacroRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMacroRequest) GetActions() []*MacroAction
- func (x *CreateMacroRequest) GetKeyboardKey() string
- func (x *CreateMacroRequest) GetName() string
- func (*CreateMacroRequest) ProtoMessage()
- func (x *CreateMacroRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMacroRequest) Reset()
- func (x *CreateMacroRequest) String() string
- type CreateMacroResponse
- type CreateRoomRequest
- func (*CreateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomRequest) GetEmulatorType() string
- func (x *CreateRoomRequest) GetName() string
- func (x *CreateRoomRequest) GetPrivate() bool
- func (*CreateRoomRequest) ProtoMessage()
- func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoomRequest) Reset()
- func (x *CreateRoomRequest) String() string
- type CreateRoomResponse
- func (*CreateRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomResponse) GetHost() int64
- func (x *CreateRoomResponse) GetId() int64
- func (x *CreateRoomResponse) GetMemberLimit() int32
- func (x *CreateRoomResponse) GetName() string
- func (x *CreateRoomResponse) GetPassword() string
- func (x *CreateRoomResponse) GetPrivate() bool
- func (*CreateRoomResponse) ProtoMessage()
- func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoomResponse) Reset()
- func (x *CreateRoomResponse) String() string
- type CreateUserKeyboardBindingRequest
- func (*CreateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
- func (x *CreateUserKeyboardBindingRequest) GetName() string
- 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 DeleteMacroRequest
- type DeleteMacroResponse
- type DeleteMemberRequest
- func (*DeleteMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemberRequest) GetRoomId() int64
- func (x *DeleteMemberRequest) GetUserId() int64
- func (*DeleteMemberRequest) ProtoMessage()
- func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberRequest) Reset()
- func (x *DeleteMemberRequest) String() string
- type DeleteMemberResponse
- type DeleteRoomRequest
- type DeleteRoomResponse
- type DeleteSaveRequest
- func (*DeleteSaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSaveRequest) GetRoomId() int64
- func (x *DeleteSaveRequest) GetSaveId() int64
- func (*DeleteSaveRequest) ProtoMessage()
- func (x *DeleteSaveRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSaveRequest) Reset()
- func (x *DeleteSaveRequest) String() string
- type DeleteSaveResponse
- type DeleteUserKeyboardBindingRequest
- func (*DeleteUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserKeyboardBindingRequest) GetId() 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 Emulator
- func (*Emulator) Descriptor() ([]byte, []int)deprecated
- func (x *Emulator) GetGames() int32
- func (x *Emulator) GetName() string
- func (x *Emulator) GetProvider() string
- func (x *Emulator) GetSupportGraphicSetting() bool
- func (x *Emulator) GetSupportSaving() bool
- func (*Emulator) ProtoMessage()
- func (x *Emulator) ProtoReflect() protoreflect.Message
- func (x *Emulator) Reset()
- func (x *Emulator) String() string
- type FindRoomByNameRequest
- func (*FindRoomByNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRoomByNameRequest) GetName() string
- func (x *FindRoomByNameRequest) GetPage() int32
- func (x *FindRoomByNameRequest) GetPageSize() int32
- func (*FindRoomByNameRequest) ProtoMessage()
- func (x *FindRoomByNameRequest) ProtoReflect() protoreflect.Message
- func (x *FindRoomByNameRequest) Reset()
- func (x *FindRoomByNameRequest) String() string
- type FindRoomByNameResponse
- func (*FindRoomByNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindRoomByNameResponse) GetRooms() []*Room
- func (x *FindRoomByNameResponse) GetTotal() int32
- func (*FindRoomByNameResponse) ProtoMessage()
- func (x *FindRoomByNameResponse) ProtoReflect() protoreflect.Message
- func (x *FindRoomByNameResponse) Reset()
- func (x *FindRoomByNameResponse) String() string
- type GameFileMetadata
- func (*GameFileMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GameFileMetadata) GetMapper() string
- func (x *GameFileMetadata) GetMirroring() string
- func (x *GameFileMetadata) GetName() string
- func (*GameFileMetadata) ProtoMessage()
- func (x *GameFileMetadata) ProtoReflect() protoreflect.Message
- func (x *GameFileMetadata) Reset()
- func (x *GameFileMetadata) String() string
- type GetEmulatorSpeedRequest
- func (*GetEmulatorSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmulatorSpeedRequest) GetRoomId() int64
- func (*GetEmulatorSpeedRequest) ProtoMessage()
- func (x *GetEmulatorSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *GetEmulatorSpeedRequest) Reset()
- func (x *GetEmulatorSpeedRequest) String() string
- type GetEmulatorSpeedResponse
- func (*GetEmulatorSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEmulatorSpeedResponse) GetRate() float64
- func (*GetEmulatorSpeedResponse) ProtoMessage()
- func (x *GetEmulatorSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *GetEmulatorSpeedResponse) Reset()
- func (x *GetEmulatorSpeedResponse) String() string
- type GetGraphicOptionsRequest
- func (*GetGraphicOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGraphicOptionsRequest) GetRoomId() int64
- func (*GetGraphicOptionsRequest) ProtoMessage()
- func (x *GetGraphicOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetGraphicOptionsRequest) Reset()
- func (x *GetGraphicOptionsRequest) String() string
- type GetGraphicOptionsResponse
- func (*GetGraphicOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGraphicOptionsResponse) GetGrayscale() bool
- func (x *GetGraphicOptionsResponse) GetHighResOpen() bool
- func (x *GetGraphicOptionsResponse) GetReverseColor() bool
- func (*GetGraphicOptionsResponse) ProtoMessage()
- func (x *GetGraphicOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetGraphicOptionsResponse) Reset()
- func (x *GetGraphicOptionsResponse) String() string
- type GetMacroRequest
- type GetMacroResponse
- type GetRoomMemberRequest
- func (*GetRoomMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomMemberRequest) GetRoomId() int64
- func (*GetRoomMemberRequest) ProtoMessage()
- func (x *GetRoomMemberRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoomMemberRequest) Reset()
- func (x *GetRoomMemberRequest) String() string
- type GetRoomMemberResponse
- func (*GetRoomMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomMemberResponse) GetMember() *Member
- func (*GetRoomMemberResponse) ProtoMessage()
- func (x *GetRoomMemberResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoomMemberResponse) Reset()
- func (x *GetRoomMemberResponse) String() string
- type GetRoomRequest
- type GetRoomResponse
- func (*GetRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomResponse) GetCreateTime() int64
- func (x *GetRoomResponse) GetEmulatorType() string
- func (x *GetRoomResponse) GetHost() int64
- func (x *GetRoomResponse) GetHostName() string
- func (x *GetRoomResponse) GetId() int64
- func (x *GetRoomResponse) GetMemberCount() int32
- func (x *GetRoomResponse) GetMemberLimit() int32
- func (x *GetRoomResponse) GetName() string
- func (x *GetRoomResponse) GetPassword() string
- func (x *GetRoomResponse) GetPrivate() bool
- func (*GetRoomResponse) ProtoMessage()
- func (x *GetRoomResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoomResponse) Reset()
- func (x *GetRoomResponse) String() string
- type GetRoomSessionRequest
- func (*GetRoomSessionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomSessionRequest) GetRoomId() int64
- func (x *GetRoomSessionRequest) GetUserId() int64
- func (*GetRoomSessionRequest) ProtoMessage()
- func (x *GetRoomSessionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRoomSessionRequest) Reset()
- func (x *GetRoomSessionRequest) String() string
- type GetRoomSessionResponse
- func (*GetRoomSessionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomSessionResponse) GetEndpoint() string
- func (x *GetRoomSessionResponse) GetRoomId() int64
- func (*GetRoomSessionResponse) ProtoMessage()
- func (x *GetRoomSessionResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoomSessionResponse) Reset()
- func (x *GetRoomSessionResponse) String() string
- type GetServerICECandidateRequest
- func (*GetServerICECandidateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerICECandidateRequest) GetRoomId() int64
- func (*GetServerICECandidateRequest) ProtoMessage()
- func (x *GetServerICECandidateRequest) ProtoReflect() protoreflect.Message
- func (x *GetServerICECandidateRequest) Reset()
- func (x *GetServerICECandidateRequest) String() string
- type GetServerICECandidateResponse
- func (*GetServerICECandidateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetServerICECandidateResponse) GetCandidates() []string
- func (*GetServerICECandidateResponse) ProtoMessage()
- func (x *GetServerICECandidateResponse) ProtoReflect() protoreflect.Message
- func (x *GetServerICECandidateResponse) Reset()
- func (x *GetServerICECandidateResponse) 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) GetCode() int32
- func (x *GetUserResponse) GetData() *User
- func (x *GetUserResponse) GetMessage() string
- func (*GetUserResponse) ProtoMessage()
- func (x *GetUserResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserResponse) Reset()
- func (x *GetUserResponse) String() string
- type JoinRoomRequest
- func (*JoinRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRoomRequest) GetPassword() string
- func (x *JoinRoomRequest) GetRoomId() int64
- func (*JoinRoomRequest) ProtoMessage()
- func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRoomRequest) Reset()
- func (x *JoinRoomRequest) String() string
- type JoinRoomResponse
- func (*JoinRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRoomResponse) GetRole() v1.RoomRole
- func (x *JoinRoomResponse) GetRoomId() int64
- func (x *JoinRoomResponse) GetUserId() int64
- func (*JoinRoomResponse) ProtoMessage()
- func (x *JoinRoomResponse) ProtoReflect() protoreflect.Message
- func (x *JoinRoomResponse) Reset()
- func (x *JoinRoomResponse) 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 ListGamesRequest
- type ListGamesResponse
- func (*ListGamesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGamesResponse) GetGames() []*GameFileMetadata
- func (*ListGamesResponse) ProtoMessage()
- func (x *ListGamesResponse) ProtoReflect() protoreflect.Message
- func (x *ListGamesResponse) Reset()
- func (x *ListGamesResponse) String() string
- type ListMacroRequest
- func (*ListMacroRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMacroRequest) GetPage() int32
- func (x *ListMacroRequest) GetPageSize() int32
- 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 ListMemberRequest
- type ListMemberResponse
- func (*ListMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMemberResponse) GetMembers() []*Member
- func (*ListMemberResponse) ProtoMessage()
- func (x *ListMemberResponse) ProtoReflect() protoreflect.Message
- func (x *ListMemberResponse) Reset()
- func (x *ListMemberResponse) String() string
- type ListRoomRequest
- func (*ListRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomRequest) GetPage() int32
- func (x *ListRoomRequest) GetPageSize() int32
- func (*ListRoomRequest) ProtoMessage()
- func (x *ListRoomRequest) ProtoReflect() protoreflect.Message
- func (x *ListRoomRequest) Reset()
- func (x *ListRoomRequest) String() string
- type ListRoomResponse
- func (*ListRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRoomResponse) GetRooms() []*Room
- func (x *ListRoomResponse) GetTotal() int32
- func (*ListRoomResponse) ProtoMessage()
- func (x *ListRoomResponse) ProtoReflect() protoreflect.Message
- func (x *ListRoomResponse) Reset()
- func (x *ListRoomResponse) String() string
- type ListSavesRequest
- func (*ListSavesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSavesRequest) GetPage() int32
- func (x *ListSavesRequest) GetPageSize() int32
- func (x *ListSavesRequest) GetRoomId() int64
- func (*ListSavesRequest) ProtoMessage()
- func (x *ListSavesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSavesRequest) Reset()
- func (x *ListSavesRequest) String() string
- type ListSavesResponse
- func (*ListSavesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSavesResponse) GetSaves() []*Save
- func (x *ListSavesResponse) GetTotal() int32
- func (*ListSavesResponse) ProtoMessage()
- func (x *ListSavesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSavesResponse) Reset()
- func (x *ListSavesResponse) String() string
- type ListSupportedEmulatorsRequest
- func (*ListSupportedEmulatorsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListSupportedEmulatorsRequest) ProtoMessage()
- func (x *ListSupportedEmulatorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSupportedEmulatorsRequest) Reset()
- func (x *ListSupportedEmulatorsRequest) String() string
- type ListSupportedEmulatorsResponse
- func (*ListSupportedEmulatorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSupportedEmulatorsResponse) GetEmulators() []*Emulator
- func (*ListSupportedEmulatorsResponse) ProtoMessage()
- func (x *ListSupportedEmulatorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSupportedEmulatorsResponse) Reset()
- func (x *ListSupportedEmulatorsResponse) String() string
- type ListUserKeyboardBindingRequest
- func (*ListUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUserKeyboardBindingRequest) GetPage() int32
- func (x *ListUserKeyboardBindingRequest) GetPageSize() int32
- 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 LoadSaveRequest
- func (*LoadSaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadSaveRequest) GetRoomId() int64
- func (x *LoadSaveRequest) GetSaveId() int64
- func (*LoadSaveRequest) ProtoMessage()
- func (x *LoadSaveRequest) ProtoReflect() protoreflect.Message
- func (x *LoadSaveRequest) Reset()
- func (x *LoadSaveRequest) String() string
- type LoadSaveResponse
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoginRequest) GetName() string
- func (x *LoginRequest) GetPassword() string
- func (*LoginRequest) ProtoMessage()
- func (x *LoginRequest) ProtoReflect() protoreflect.Message
- func (x *LoginRequest) Reset()
- func (x *LoginRequest) String() string
- type LoginResponse
- 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 Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetJoinedAt() int64
- func (x *Member) GetName() string
- func (x *Member) GetPlayer1() bool
- func (x *Member) GetPlayer2() bool
- func (x *Member) GetRole() v1.RoomRole
- func (x *Member) GetUserId() int64
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- type NesgoWebAPIErrorReason
- func (NesgoWebAPIErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x NesgoWebAPIErrorReason) Enum() *NesgoWebAPIErrorReason
- func (NesgoWebAPIErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x NesgoWebAPIErrorReason) Number() protoreflect.EnumNumber
- func (x NesgoWebAPIErrorReason) String() string
- func (NesgoWebAPIErrorReason) Type() protoreflect.EnumType
- type OpenGameConnectionRequest
- func (*OpenGameConnectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenGameConnectionRequest) GetGame() string
- func (x *OpenGameConnectionRequest) GetRoomId() int64
- func (x *OpenGameConnectionRequest) GetUserId() int64
- func (*OpenGameConnectionRequest) ProtoMessage()
- func (x *OpenGameConnectionRequest) ProtoReflect() protoreflect.Message
- func (x *OpenGameConnectionRequest) Reset()
- func (x *OpenGameConnectionRequest) String() string
- type OpenGameConnectionResponse
- func (*OpenGameConnectionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenGameConnectionResponse) GetRoomId() int64
- func (x *OpenGameConnectionResponse) GetSdpOffer() string
- func (x *OpenGameConnectionResponse) GetUserId() int64
- func (*OpenGameConnectionResponse) ProtoMessage()
- func (x *OpenGameConnectionResponse) ProtoReflect() protoreflect.Message
- func (x *OpenGameConnectionResponse) Reset()
- func (x *OpenGameConnectionResponse) String() string
- type RegisterRequest
- func (*RegisterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterRequest) GetName() string
- func (x *RegisterRequest) GetPassword() string
- func (*RegisterRequest) ProtoMessage()
- func (x *RegisterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterRequest) Reset()
- func (x *RegisterRequest) String() string
- type RegisterResponse
- type RestartEmulatorRequest
- func (*RestartEmulatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartEmulatorRequest) GetGame() string
- func (x *RestartEmulatorRequest) GetRoomId() int64
- func (*RestartEmulatorRequest) ProtoMessage()
- func (x *RestartEmulatorRequest) ProtoReflect() protoreflect.Message
- func (x *RestartEmulatorRequest) Reset()
- func (x *RestartEmulatorRequest) String() string
- type RestartEmulatorResponse
- type Room
- func (*Room) Descriptor() ([]byte, []int)deprecated
- func (x *Room) GetCreateTime() int64
- func (x *Room) GetEmulatorType() string
- func (x *Room) GetHost() int64
- func (x *Room) GetHostName() string
- func (x *Room) GetId() int64
- func (x *Room) GetMemberCount() int32
- func (x *Room) GetMemberLimit() int32
- func (x *Room) GetName() string
- func (x *Room) GetPassword() string
- func (x *Room) GetPrivate() bool
- func (*Room) ProtoMessage()
- func (x *Room) ProtoReflect() protoreflect.Message
- func (x *Room) Reset()
- func (x *Room) String() string
- type SDPAnswerRequest
- func (*SDPAnswerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SDPAnswerRequest) GetRoomId() int64
- func (x *SDPAnswerRequest) GetSdpAnswer() string
- func (x *SDPAnswerRequest) GetUserId() int64
- func (*SDPAnswerRequest) ProtoMessage()
- func (x *SDPAnswerRequest) ProtoReflect() protoreflect.Message
- func (x *SDPAnswerRequest) Reset()
- func (x *SDPAnswerRequest) String() string
- type SDPAnswerResponse
- func (*SDPAnswerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SDPAnswerResponse) GetRoomId() int64
- func (x *SDPAnswerResponse) GetUserId() int64
- func (*SDPAnswerResponse) ProtoMessage()
- func (x *SDPAnswerResponse) ProtoReflect() protoreflect.Message
- func (x *SDPAnswerResponse) Reset()
- func (x *SDPAnswerResponse) String() string
- type Save
- func (*Save) Descriptor() ([]byte, []int)deprecated
- func (x *Save) GetCreateTime() int64
- func (x *Save) GetExitSave() bool
- func (x *Save) GetGame() string
- func (x *Save) GetId() int64
- func (x *Save) GetRoomId() int64
- func (*Save) ProtoMessage()
- func (x *Save) ProtoReflect() protoreflect.Message
- func (x *Save) Reset()
- func (x *Save) String() string
- type SaveGameRequest
- type SaveGameResponse
- type SetControllerRequest
- func (*SetControllerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetControllerRequest) GetControllerId() int32
- func (x *SetControllerRequest) GetPlayerId() int64
- func (x *SetControllerRequest) GetRoomId() int64
- func (*SetControllerRequest) ProtoMessage()
- func (x *SetControllerRequest) ProtoReflect() protoreflect.Message
- func (x *SetControllerRequest) Reset()
- func (x *SetControllerRequest) String() string
- type SetControllerResponse
- type SetEmulatorSpeedRequest
- func (*SetEmulatorSpeedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetEmulatorSpeedRequest) GetRate() float64
- func (x *SetEmulatorSpeedRequest) GetRoomId() int64
- func (*SetEmulatorSpeedRequest) ProtoMessage()
- func (x *SetEmulatorSpeedRequest) ProtoReflect() protoreflect.Message
- func (x *SetEmulatorSpeedRequest) Reset()
- func (x *SetEmulatorSpeedRequest) String() string
- type SetEmulatorSpeedResponse
- func (*SetEmulatorSpeedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetEmulatorSpeedResponse) GetRate() float64
- func (x *SetEmulatorSpeedResponse) GetRoomId() int64
- func (*SetEmulatorSpeedResponse) ProtoMessage()
- func (x *SetEmulatorSpeedResponse) ProtoReflect() protoreflect.Message
- func (x *SetEmulatorSpeedResponse) Reset()
- func (x *SetEmulatorSpeedResponse) String() string
- type SetGraphicOptionsRequest
- func (*SetGraphicOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetGraphicOptionsRequest) GetGrayscale() bool
- func (x *SetGraphicOptionsRequest) GetHighResOpen() bool
- func (x *SetGraphicOptionsRequest) GetReverseColor() bool
- func (x *SetGraphicOptionsRequest) GetRoomId() int64
- func (*SetGraphicOptionsRequest) ProtoMessage()
- func (x *SetGraphicOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *SetGraphicOptionsRequest) Reset()
- func (x *SetGraphicOptionsRequest) String() string
- type SetGraphicOptionsResponse
- func (*SetGraphicOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetGraphicOptionsResponse) GetGrayscale() bool
- func (x *SetGraphicOptionsResponse) GetHighResOpen() bool
- func (x *SetGraphicOptionsResponse) GetReverseColor() bool
- func (*SetGraphicOptionsResponse) ProtoMessage()
- func (x *SetGraphicOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *SetGraphicOptionsResponse) Reset()
- func (x *SetGraphicOptionsResponse) String() string
- type UnimplementedWebApiServer
- func (UnimplementedWebApiServer) AddICECandidate(context.Context, *AddICECandidateRequest) (*AddICECandidateResponse, error)
- func (UnimplementedWebApiServer) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error)
- func (UnimplementedWebApiServer) CreateRoom(context.Context, *CreateRoomRequest) (*CreateRoomResponse, error)
- func (UnimplementedWebApiServer) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error)
- func (UnimplementedWebApiServer) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error)
- func (UnimplementedWebApiServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
- func (UnimplementedWebApiServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error)
- func (UnimplementedWebApiServer) DeleteSave(context.Context, *DeleteSaveRequest) (*DeleteSaveResponse, error)
- func (UnimplementedWebApiServer) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error)
- func (UnimplementedWebApiServer) GetEmulatorSpeed(context.Context, *GetEmulatorSpeedRequest) (*GetEmulatorSpeedResponse, error)
- func (UnimplementedWebApiServer) GetGraphicOptions(context.Context, *GetGraphicOptionsRequest) (*GetGraphicOptionsResponse, error)
- func (UnimplementedWebApiServer) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error)
- func (UnimplementedWebApiServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
- func (UnimplementedWebApiServer) GetRoomMember(context.Context, *GetRoomMemberRequest) (*GetRoomMemberResponse, error)
- func (UnimplementedWebApiServer) GetServerICECandidate(context.Context, *GetServerICECandidateRequest) (*GetServerICECandidateResponse, error)
- func (UnimplementedWebApiServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedWebApiServer) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error)
- func (UnimplementedWebApiServer) JoinRoom(context.Context, *JoinRoomRequest) (*JoinRoomResponse, error)
- func (UnimplementedWebApiServer) ListAllRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error)
- func (UnimplementedWebApiServer) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error)
- func (UnimplementedWebApiServer) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error)
- func (UnimplementedWebApiServer) ListMembers(context.Context, *ListMemberRequest) (*ListMemberResponse, error)
- func (UnimplementedWebApiServer) ListMyRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error)
- func (UnimplementedWebApiServer) ListSaves(context.Context, *ListSavesRequest) (*ListSavesResponse, error)
- func (UnimplementedWebApiServer) ListSupportedEmulators(context.Context, *ListSupportedEmulatorsRequest) (*ListSupportedEmulatorsResponse, error)
- func (UnimplementedWebApiServer) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error)
- func (UnimplementedWebApiServer) LoadSave(context.Context, *LoadSaveRequest) (*LoadSaveResponse, error)
- func (UnimplementedWebApiServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedWebApiServer) OpenGameConnection(context.Context, *OpenGameConnectionRequest) (*OpenGameConnectionResponse, error)
- func (UnimplementedWebApiServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
- func (UnimplementedWebApiServer) RestartEmulator(context.Context, *RestartEmulatorRequest) (*RestartEmulatorResponse, error)
- func (UnimplementedWebApiServer) SDPAnswer(context.Context, *SDPAnswerRequest) (*SDPAnswerResponse, error)
- func (UnimplementedWebApiServer) SaveGame(context.Context, *SaveGameRequest) (*SaveGameResponse, error)
- func (UnimplementedWebApiServer) SetController(context.Context, *SetControllerRequest) (*SetControllerResponse, error)
- func (UnimplementedWebApiServer) SetEmulatorSpeed(context.Context, *SetEmulatorSpeedRequest) (*SetEmulatorSpeedResponse, error)
- func (UnimplementedWebApiServer) SetGraphicOptions(context.Context, *SetGraphicOptionsRequest) (*SetGraphicOptionsResponse, error)
- func (UnimplementedWebApiServer) UpdateMemberRole(context.Context, *UpdateMemberRoleRequest) (*UpdateMemberRoleResponse, error)
- func (UnimplementedWebApiServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*UpdateRoomResponse, error)
- func (UnimplementedWebApiServer) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error)
- type UnsafeWebApiServer
- type UpdateMemberRoleRequest
- func (*UpdateMemberRoleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMemberRoleRequest) GetRole() v1.RoomRole
- func (x *UpdateMemberRoleRequest) GetRoomId() int64
- func (x *UpdateMemberRoleRequest) GetUserId() int64
- func (*UpdateMemberRoleRequest) ProtoMessage()
- func (x *UpdateMemberRoleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMemberRoleRequest) Reset()
- func (x *UpdateMemberRoleRequest) String() string
- type UpdateMemberRoleResponse
- type UpdateRoomRequest
- func (*UpdateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomRequest) GetName() string
- func (x *UpdateRoomRequest) GetPrivate() bool
- func (x *UpdateRoomRequest) GetRoomId() int64
- func (*UpdateRoomRequest) ProtoMessage()
- func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomRequest) Reset()
- func (x *UpdateRoomRequest) String() string
- type UpdateRoomResponse
- func (*UpdateRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRoomResponse) GetName() string
- func (x *UpdateRoomResponse) GetPassword() string
- func (x *UpdateRoomResponse) GetPrivate() bool
- func (x *UpdateRoomResponse) GetRoomId() int64
- func (*UpdateRoomResponse) ProtoMessage()
- func (x *UpdateRoomResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateRoomResponse) Reset()
- func (x *UpdateRoomResponse) String() string
- type UpdateUserKeyboardBindingRequest
- func (*UpdateUserKeyboardBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserKeyboardBindingRequest) GetBindings() []*KeyboardBinding
- func (x *UpdateUserKeyboardBindingRequest) GetId() int64
- func (x *UpdateUserKeyboardBindingRequest) GetName() string
- 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 User
- 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 WebApiClient
- type WebApiHTTPClient
- type WebApiHTTPClientImpl
- func (c *WebApiHTTPClientImpl) AddICECandidate(ctx context.Context, in *AddICECandidateRequest, opts ...http.CallOption) (*AddICECandidateResponse, error)
- func (c *WebApiHTTPClientImpl) CreateMacro(ctx context.Context, in *CreateMacroRequest, opts ...http.CallOption) (*CreateMacroResponse, error)
- func (c *WebApiHTTPClientImpl) CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...http.CallOption) (*CreateRoomResponse, error)
- func (c *WebApiHTTPClientImpl) CreateUserKeyboardBinding(ctx context.Context, in *CreateUserKeyboardBindingRequest, ...) (*CreateUserKeyboardBindingResponse, error)
- func (c *WebApiHTTPClientImpl) DeleteMacro(ctx context.Context, in *DeleteMacroRequest, opts ...http.CallOption) (*DeleteMacroResponse, error)
- func (c *WebApiHTTPClientImpl) DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...http.CallOption) (*DeleteMemberResponse, error)
- func (c *WebApiHTTPClientImpl) DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...http.CallOption) (*DeleteRoomResponse, error)
- func (c *WebApiHTTPClientImpl) DeleteSave(ctx context.Context, in *DeleteSaveRequest, opts ...http.CallOption) (*DeleteSaveResponse, error)
- func (c *WebApiHTTPClientImpl) DeleteUserKeyboardBinding(ctx context.Context, in *DeleteUserKeyboardBindingRequest, ...) (*DeleteUserKeyboardBindingResponse, error)
- func (c *WebApiHTTPClientImpl) GetEmulatorSpeed(ctx context.Context, in *GetEmulatorSpeedRequest, opts ...http.CallOption) (*GetEmulatorSpeedResponse, error)
- func (c *WebApiHTTPClientImpl) GetGraphicOptions(ctx context.Context, in *GetGraphicOptionsRequest, opts ...http.CallOption) (*GetGraphicOptionsResponse, error)
- func (c *WebApiHTTPClientImpl) GetMacro(ctx context.Context, in *GetMacroRequest, opts ...http.CallOption) (*GetMacroResponse, error)
- func (c *WebApiHTTPClientImpl) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...http.CallOption) (*GetRoomResponse, error)
- func (c *WebApiHTTPClientImpl) GetRoomMember(ctx context.Context, in *GetRoomMemberRequest, opts ...http.CallOption) (*GetRoomMemberResponse, error)
- func (c *WebApiHTTPClientImpl) GetServerICECandidate(ctx context.Context, in *GetServerICECandidateRequest, opts ...http.CallOption) (*GetServerICECandidateResponse, error)
- func (c *WebApiHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserResponse, error)
- func (c *WebApiHTTPClientImpl) GetUserKeyboardBinding(ctx context.Context, in *GetUserKeyboardBindingRequest, ...) (*GetUserKeyboardBindingResponse, error)
- func (c *WebApiHTTPClientImpl) JoinRoom(ctx context.Context, in *JoinRoomRequest, opts ...http.CallOption) (*JoinRoomResponse, error)
- func (c *WebApiHTTPClientImpl) ListAllRooms(ctx context.Context, in *ListRoomRequest, opts ...http.CallOption) (*ListRoomResponse, error)
- func (c *WebApiHTTPClientImpl) ListGames(ctx context.Context, in *ListGamesRequest, opts ...http.CallOption) (*ListGamesResponse, error)
- func (c *WebApiHTTPClientImpl) ListMacro(ctx context.Context, in *ListMacroRequest, opts ...http.CallOption) (*ListMacroResponse, error)
- func (c *WebApiHTTPClientImpl) ListMembers(ctx context.Context, in *ListMemberRequest, opts ...http.CallOption) (*ListMemberResponse, error)
- func (c *WebApiHTTPClientImpl) ListMyRooms(ctx context.Context, in *ListRoomRequest, opts ...http.CallOption) (*ListRoomResponse, error)
- func (c *WebApiHTTPClientImpl) ListSaves(ctx context.Context, in *ListSavesRequest, opts ...http.CallOption) (*ListSavesResponse, error)
- func (c *WebApiHTTPClientImpl) ListSupportedEmulators(ctx context.Context, in *ListSupportedEmulatorsRequest, ...) (*ListSupportedEmulatorsResponse, error)
- func (c *WebApiHTTPClientImpl) ListUserKeyboardBinding(ctx context.Context, in *ListUserKeyboardBindingRequest, ...) (*ListUserKeyboardBindingResponse, error)
- func (c *WebApiHTTPClientImpl) LoadSave(ctx context.Context, in *LoadSaveRequest, opts ...http.CallOption) (*LoadSaveResponse, error)
- func (c *WebApiHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
- func (c *WebApiHTTPClientImpl) OpenGameConnection(ctx context.Context, in *OpenGameConnectionRequest, opts ...http.CallOption) (*OpenGameConnectionResponse, error)
- func (c *WebApiHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterResponse, error)
- func (c *WebApiHTTPClientImpl) RestartEmulator(ctx context.Context, in *RestartEmulatorRequest, opts ...http.CallOption) (*RestartEmulatorResponse, error)
- func (c *WebApiHTTPClientImpl) SDPAnswer(ctx context.Context, in *SDPAnswerRequest, opts ...http.CallOption) (*SDPAnswerResponse, error)
- func (c *WebApiHTTPClientImpl) SaveGame(ctx context.Context, in *SaveGameRequest, opts ...http.CallOption) (*SaveGameResponse, error)
- func (c *WebApiHTTPClientImpl) SetController(ctx context.Context, in *SetControllerRequest, opts ...http.CallOption) (*SetControllerResponse, error)
- func (c *WebApiHTTPClientImpl) SetEmulatorSpeed(ctx context.Context, in *SetEmulatorSpeedRequest, opts ...http.CallOption) (*SetEmulatorSpeedResponse, error)
- func (c *WebApiHTTPClientImpl) SetGraphicOptions(ctx context.Context, in *SetGraphicOptionsRequest, opts ...http.CallOption) (*SetGraphicOptionsResponse, error)
- func (c *WebApiHTTPClientImpl) UpdateMemberRole(ctx context.Context, in *UpdateMemberRoleRequest, opts ...http.CallOption) (*UpdateMemberRoleResponse, error)
- func (c *WebApiHTTPClientImpl) UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...http.CallOption) (*UpdateRoomResponse, error)
- func (c *WebApiHTTPClientImpl) UpdateUserKeyboardBinding(ctx context.Context, in *UpdateUserKeyboardBindingRequest, ...) (*UpdateUserKeyboardBindingResponse, error)
- type WebApiHTTPServer
- type WebApiServer
Constants ¶
const ( WebApi_Register_FullMethodName = "/nesgo.webapi.v1.WebApi/Register" WebApi_Login_FullMethodName = "/nesgo.webapi.v1.WebApi/Login" WebApi_ListMyRooms_FullMethodName = "/nesgo.webapi.v1.WebApi/ListMyRooms" WebApi_ListAllRooms_FullMethodName = "/nesgo.webapi.v1.WebApi/ListAllRooms" WebApi_CreateRoom_FullMethodName = "/nesgo.webapi.v1.WebApi/CreateRoom" WebApi_GetRoom_FullMethodName = "/nesgo.webapi.v1.WebApi/GetRoom" WebApi_GetUser_FullMethodName = "/nesgo.webapi.v1.WebApi/GetUser" WebApi_OpenGameConnection_FullMethodName = "/nesgo.webapi.v1.WebApi/OpenGameConnection" WebApi_SDPAnswer_FullMethodName = "/nesgo.webapi.v1.WebApi/SDPAnswer" WebApi_AddICECandidate_FullMethodName = "/nesgo.webapi.v1.WebApi/AddICECandidate" WebApi_ListMembers_FullMethodName = "/nesgo.webapi.v1.WebApi/ListMembers" WebApi_JoinRoom_FullMethodName = "/nesgo.webapi.v1.WebApi/JoinRoom" WebApi_DeleteRoom_FullMethodName = "/nesgo.webapi.v1.WebApi/DeleteRoom" WebApi_UpdateRoom_FullMethodName = "/nesgo.webapi.v1.WebApi/UpdateRoom" WebApi_GetRoomMember_FullMethodName = "/nesgo.webapi.v1.WebApi/GetRoomMember" WebApi_ListGames_FullMethodName = "/nesgo.webapi.v1.WebApi/ListGames" WebApi_SetController_FullMethodName = "/nesgo.webapi.v1.WebApi/SetController" WebApi_UpdateMemberRole_FullMethodName = "/nesgo.webapi.v1.WebApi/UpdateMemberRole" WebApi_DeleteMember_FullMethodName = "/nesgo.webapi.v1.WebApi/DeleteMember" WebApi_SaveGame_FullMethodName = "/nesgo.webapi.v1.WebApi/SaveGame" WebApi_LoadSave_FullMethodName = "/nesgo.webapi.v1.WebApi/LoadSave" WebApi_ListSaves_FullMethodName = "/nesgo.webapi.v1.WebApi/ListSaves" WebApi_RestartEmulator_FullMethodName = "/nesgo.webapi.v1.WebApi/RestartEmulator" WebApi_DeleteSave_FullMethodName = "/nesgo.webapi.v1.WebApi/DeleteSave" WebApi_CreateUserKeyboardBinding_FullMethodName = "/nesgo.webapi.v1.WebApi/CreateUserKeyboardBinding" WebApi_ListUserKeyboardBinding_FullMethodName = "/nesgo.webapi.v1.WebApi/ListUserKeyboardBinding" WebApi_GetUserKeyboardBinding_FullMethodName = "/nesgo.webapi.v1.WebApi/GetUserKeyboardBinding" WebApi_UpdateUserKeyboardBinding_FullMethodName = "/nesgo.webapi.v1.WebApi/UpdateUserKeyboardBinding" WebApi_DeleteUserKeyboardBinding_FullMethodName = "/nesgo.webapi.v1.WebApi/DeleteUserKeyboardBinding" WebApi_GetServerICECandidate_FullMethodName = "/nesgo.webapi.v1.WebApi/GetServerICECandidate" WebApi_SetGraphicOptions_FullMethodName = "/nesgo.webapi.v1.WebApi/SetGraphicOptions" WebApi_GetGraphicOptions_FullMethodName = "/nesgo.webapi.v1.WebApi/GetGraphicOptions" WebApi_CreateMacro_FullMethodName = "/nesgo.webapi.v1.WebApi/CreateMacro" WebApi_GetMacro_FullMethodName = "/nesgo.webapi.v1.WebApi/GetMacro" WebApi_ListMacro_FullMethodName = "/nesgo.webapi.v1.WebApi/ListMacro" WebApi_DeleteMacro_FullMethodName = "/nesgo.webapi.v1.WebApi/DeleteMacro" WebApi_SetEmulatorSpeed_FullMethodName = "/nesgo.webapi.v1.WebApi/SetEmulatorSpeed" WebApi_GetEmulatorSpeed_FullMethodName = "/nesgo.webapi.v1.WebApi/GetEmulatorSpeed" WebApi_ListSupportedEmulators_FullMethodName = "/nesgo.webapi.v1.WebApi/ListSupportedEmulators" )
const OperationWebApiAddICECandidate = "/nesgo.webapi.v1.WebApi/AddICECandidate"
const OperationWebApiCreateMacro = "/nesgo.webapi.v1.WebApi/CreateMacro"
const OperationWebApiCreateRoom = "/nesgo.webapi.v1.WebApi/CreateRoom"
const OperationWebApiCreateUserKeyboardBinding = "/nesgo.webapi.v1.WebApi/CreateUserKeyboardBinding"
const OperationWebApiDeleteMacro = "/nesgo.webapi.v1.WebApi/DeleteMacro"
const OperationWebApiDeleteMember = "/nesgo.webapi.v1.WebApi/DeleteMember"
const OperationWebApiDeleteRoom = "/nesgo.webapi.v1.WebApi/DeleteRoom"
const OperationWebApiDeleteSave = "/nesgo.webapi.v1.WebApi/DeleteSave"
const OperationWebApiDeleteUserKeyboardBinding = "/nesgo.webapi.v1.WebApi/DeleteUserKeyboardBinding"
const OperationWebApiGetEmulatorSpeed = "/nesgo.webapi.v1.WebApi/GetEmulatorSpeed"
const OperationWebApiGetGraphicOptions = "/nesgo.webapi.v1.WebApi/GetGraphicOptions"
const OperationWebApiGetMacro = "/nesgo.webapi.v1.WebApi/GetMacro"
const OperationWebApiGetRoom = "/nesgo.webapi.v1.WebApi/GetRoom"
const OperationWebApiGetRoomMember = "/nesgo.webapi.v1.WebApi/GetRoomMember"
const OperationWebApiGetServerICECandidate = "/nesgo.webapi.v1.WebApi/GetServerICECandidate"
const OperationWebApiGetUser = "/nesgo.webapi.v1.WebApi/GetUser"
const OperationWebApiGetUserKeyboardBinding = "/nesgo.webapi.v1.WebApi/GetUserKeyboardBinding"
const OperationWebApiJoinRoom = "/nesgo.webapi.v1.WebApi/JoinRoom"
const OperationWebApiListAllRooms = "/nesgo.webapi.v1.WebApi/ListAllRooms"
const OperationWebApiListGames = "/nesgo.webapi.v1.WebApi/ListGames"
const OperationWebApiListMacro = "/nesgo.webapi.v1.WebApi/ListMacro"
const OperationWebApiListMembers = "/nesgo.webapi.v1.WebApi/ListMembers"
const OperationWebApiListMyRooms = "/nesgo.webapi.v1.WebApi/ListMyRooms"
const OperationWebApiListSaves = "/nesgo.webapi.v1.WebApi/ListSaves"
const OperationWebApiListSupportedEmulators = "/nesgo.webapi.v1.WebApi/ListSupportedEmulators"
const OperationWebApiListUserKeyboardBinding = "/nesgo.webapi.v1.WebApi/ListUserKeyboardBinding"
const OperationWebApiLoadSave = "/nesgo.webapi.v1.WebApi/LoadSave"
const OperationWebApiLogin = "/nesgo.webapi.v1.WebApi/Login"
const OperationWebApiOpenGameConnection = "/nesgo.webapi.v1.WebApi/OpenGameConnection"
const OperationWebApiRegister = "/nesgo.webapi.v1.WebApi/Register"
const OperationWebApiRestartEmulator = "/nesgo.webapi.v1.WebApi/RestartEmulator"
const OperationWebApiSDPAnswer = "/nesgo.webapi.v1.WebApi/SDPAnswer"
const OperationWebApiSaveGame = "/nesgo.webapi.v1.WebApi/SaveGame"
const OperationWebApiSetController = "/nesgo.webapi.v1.WebApi/SetController"
const OperationWebApiSetEmulatorSpeed = "/nesgo.webapi.v1.WebApi/SetEmulatorSpeed"
const OperationWebApiSetGraphicOptions = "/nesgo.webapi.v1.WebApi/SetGraphicOptions"
const OperationWebApiUpdateMemberRole = "/nesgo.webapi.v1.WebApi/UpdateMemberRole"
const OperationWebApiUpdateRoom = "/nesgo.webapi.v1.WebApi/UpdateRoom"
const OperationWebApiUpdateUserKeyboardBinding = "/nesgo.webapi.v1.WebApi/UpdateUserKeyboardBinding"
Variables ¶
var ( NesgoWebAPIErrorReason_name = map[int32]string{ 0: "UNKNOWN_ERROR", 1: "LOGIN_FAILED", 2: "USERNAME_CONFLICT", 3: "REGISTER_FAILED", 4: "OPERATION_FAILED", } NesgoWebAPIErrorReason_value = map[string]int32{ "UNKNOWN_ERROR": 0, "LOGIN_FAILED": 1, "USERNAME_CONFLICT": 2, "REGISTER_FAILED": 3, "OPERATION_FAILED": 4, } )
Enum value maps for NesgoWebAPIErrorReason.
var File_app_webapi_v1_nesgo_error_proto protoreflect.FileDescriptor
var File_app_webapi_v1_nesgo_proto protoreflect.FileDescriptor
var WebApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "nesgo.webapi.v1.WebApi", HandlerType: (*WebApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Register", Handler: _WebApi_Register_Handler, }, { MethodName: "Login", Handler: _WebApi_Login_Handler, }, { MethodName: "ListMyRooms", Handler: _WebApi_ListMyRooms_Handler, }, { MethodName: "ListAllRooms", Handler: _WebApi_ListAllRooms_Handler, }, { MethodName: "CreateRoom", Handler: _WebApi_CreateRoom_Handler, }, { MethodName: "GetRoom", Handler: _WebApi_GetRoom_Handler, }, { MethodName: "GetUser", Handler: _WebApi_GetUser_Handler, }, { MethodName: "OpenGameConnection", Handler: _WebApi_OpenGameConnection_Handler, }, { MethodName: "SDPAnswer", Handler: _WebApi_SDPAnswer_Handler, }, { MethodName: "AddICECandidate", Handler: _WebApi_AddICECandidate_Handler, }, { MethodName: "ListMembers", Handler: _WebApi_ListMembers_Handler, }, { MethodName: "JoinRoom", Handler: _WebApi_JoinRoom_Handler, }, { MethodName: "DeleteRoom", Handler: _WebApi_DeleteRoom_Handler, }, { MethodName: "UpdateRoom", Handler: _WebApi_UpdateRoom_Handler, }, { MethodName: "GetRoomMember", Handler: _WebApi_GetRoomMember_Handler, }, { MethodName: "ListGames", Handler: _WebApi_ListGames_Handler, }, { MethodName: "SetController", Handler: _WebApi_SetController_Handler, }, { MethodName: "UpdateMemberRole", Handler: _WebApi_UpdateMemberRole_Handler, }, { MethodName: "DeleteMember", Handler: _WebApi_DeleteMember_Handler, }, { MethodName: "SaveGame", Handler: _WebApi_SaveGame_Handler, }, { MethodName: "LoadSave", Handler: _WebApi_LoadSave_Handler, }, { MethodName: "ListSaves", Handler: _WebApi_ListSaves_Handler, }, { MethodName: "RestartEmulator", Handler: _WebApi_RestartEmulator_Handler, }, { MethodName: "DeleteSave", Handler: _WebApi_DeleteSave_Handler, }, { MethodName: "CreateUserKeyboardBinding", Handler: _WebApi_CreateUserKeyboardBinding_Handler, }, { MethodName: "ListUserKeyboardBinding", Handler: _WebApi_ListUserKeyboardBinding_Handler, }, { MethodName: "GetUserKeyboardBinding", Handler: _WebApi_GetUserKeyboardBinding_Handler, }, { MethodName: "UpdateUserKeyboardBinding", Handler: _WebApi_UpdateUserKeyboardBinding_Handler, }, { MethodName: "DeleteUserKeyboardBinding", Handler: _WebApi_DeleteUserKeyboardBinding_Handler, }, { MethodName: "GetServerICECandidate", Handler: _WebApi_GetServerICECandidate_Handler, }, { MethodName: "SetGraphicOptions", Handler: _WebApi_SetGraphicOptions_Handler, }, { MethodName: "GetGraphicOptions", Handler: _WebApi_GetGraphicOptions_Handler, }, { MethodName: "CreateMacro", Handler: _WebApi_CreateMacro_Handler, }, { MethodName: "GetMacro", Handler: _WebApi_GetMacro_Handler, }, { MethodName: "ListMacro", Handler: _WebApi_ListMacro_Handler, }, { MethodName: "DeleteMacro", Handler: _WebApi_DeleteMacro_Handler, }, { MethodName: "SetEmulatorSpeed", Handler: _WebApi_SetEmulatorSpeed_Handler, }, { MethodName: "GetEmulatorSpeed", Handler: _WebApi_GetEmulatorSpeed_Handler, }, { MethodName: "ListSupportedEmulators", Handler: _WebApi_ListSupportedEmulators_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "app/webapi/v1/nesgo.proto", }
WebApi_ServiceDesc is the grpc.ServiceDesc for WebApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ErrorLoginFailed ¶
func ErrorOperationFailed ¶
func ErrorRegisterFailed ¶
func ErrorUnknownError ¶
func ErrorUsernameConflict ¶
func IsLoginFailed ¶
func IsOperationFailed ¶
func IsRegisterFailed ¶
func IsUnknownError ¶
func IsUsernameConflict ¶
func RegisterWebApiHTTPServer ¶
func RegisterWebApiHTTPServer(s *http.Server, srv WebApiHTTPServer)
func RegisterWebApiServer ¶
func RegisterWebApiServer(s grpc.ServiceRegistrar, srv WebApiServer)
Types ¶
type AddICECandidateRequest ¶
type AddICECandidateRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Candidate string `protobuf:"bytes,3,opt,name=candidate,proto3" json:"candidate,omitempty"` // contains filtered or unexported fields }
func (*AddICECandidateRequest) Descriptor
deprecated
func (*AddICECandidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddICECandidateRequest.ProtoReflect.Descriptor instead.
func (*AddICECandidateRequest) GetCandidate ¶
func (x *AddICECandidateRequest) GetCandidate() string
func (*AddICECandidateRequest) GetRoomId ¶
func (x *AddICECandidateRequest) GetRoomId() int64
func (*AddICECandidateRequest) GetUserId ¶
func (x *AddICECandidateRequest) GetUserId() int64
func (*AddICECandidateRequest) ProtoMessage ¶
func (*AddICECandidateRequest) ProtoMessage()
func (*AddICECandidateRequest) ProtoReflect ¶
func (x *AddICECandidateRequest) ProtoReflect() protoreflect.Message
func (*AddICECandidateRequest) Reset ¶
func (x *AddICECandidateRequest) Reset()
func (*AddICECandidateRequest) String ¶
func (x *AddICECandidateRequest) String() string
type AddICECandidateResponse ¶
type AddICECandidateResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*AddICECandidateResponse) Descriptor
deprecated
func (*AddICECandidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddICECandidateResponse.ProtoReflect.Descriptor instead.
func (*AddICECandidateResponse) GetRoomId ¶
func (x *AddICECandidateResponse) GetRoomId() int64
func (*AddICECandidateResponse) GetUserId ¶
func (x *AddICECandidateResponse) GetUserId() int64
func (*AddICECandidateResponse) ProtoMessage ¶
func (*AddICECandidateResponse) ProtoMessage()
func (*AddICECandidateResponse) ProtoReflect ¶
func (x *AddICECandidateResponse) ProtoReflect() protoreflect.Message
func (*AddICECandidateResponse) Reset ¶
func (x *AddICECandidateResponse) Reset()
func (*AddICECandidateResponse) String ¶
func (x *AddICECandidateResponse) String() string
type CreateMacroRequest ¶
type CreateMacroRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` KeyboardKey string `protobuf:"bytes,2,opt,name=keyboardKey,proto3" json:"keyboardKey,omitempty"` Actions []*MacroAction `protobuf:"bytes,3,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) 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 CreateRoomRequest ¶
type CreateRoomRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` EmulatorType string `protobuf:"bytes,3,opt,name=emulatorType,proto3" json:"emulatorType,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomRequest) Descriptor
deprecated
func (*CreateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
func (*CreateRoomRequest) GetEmulatorType ¶
func (x *CreateRoomRequest) GetEmulatorType() string
func (*CreateRoomRequest) GetName ¶
func (x *CreateRoomRequest) GetName() string
func (*CreateRoomRequest) GetPrivate ¶
func (x *CreateRoomRequest) GetPrivate() bool
func (*CreateRoomRequest) ProtoMessage ¶
func (*CreateRoomRequest) ProtoMessage()
func (*CreateRoomRequest) ProtoReflect ¶
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
func (*CreateRoomRequest) Reset ¶
func (x *CreateRoomRequest) Reset()
func (*CreateRoomRequest) String ¶
func (x *CreateRoomRequest) String() string
type CreateRoomResponse ¶
type CreateRoomResponse 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"` Host int64 `protobuf:"varint,3,opt,name=host,proto3" json:"host,omitempty"` Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` MemberLimit int32 `protobuf:"varint,6,opt,name=memberLimit,proto3" json:"memberLimit,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomResponse) Descriptor
deprecated
func (*CreateRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead.
func (*CreateRoomResponse) GetHost ¶
func (x *CreateRoomResponse) GetHost() int64
func (*CreateRoomResponse) GetId ¶
func (x *CreateRoomResponse) GetId() int64
func (*CreateRoomResponse) GetMemberLimit ¶
func (x *CreateRoomResponse) GetMemberLimit() int32
func (*CreateRoomResponse) GetName ¶
func (x *CreateRoomResponse) GetName() string
func (*CreateRoomResponse) GetPassword ¶
func (x *CreateRoomResponse) GetPassword() string
func (*CreateRoomResponse) GetPrivate ¶
func (x *CreateRoomResponse) GetPrivate() bool
func (*CreateRoomResponse) ProtoMessage ¶
func (*CreateRoomResponse) ProtoMessage()
func (*CreateRoomResponse) ProtoReflect ¶
func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message
func (*CreateRoomResponse) Reset ¶
func (x *CreateRoomResponse) Reset()
func (*CreateRoomResponse) String ¶
func (x *CreateRoomResponse) String() string
type CreateUserKeyboardBindingRequest ¶
type CreateUserKeyboardBindingRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Bindings []*KeyboardBinding `protobuf:"bytes,2,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) 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 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 DeleteMemberRequest ¶
type DeleteMemberRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*DeleteMemberRequest) Descriptor
deprecated
func (*DeleteMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemberRequest) GetRoomId ¶
func (x *DeleteMemberRequest) GetRoomId() int64
func (*DeleteMemberRequest) GetUserId ¶
func (x *DeleteMemberRequest) GetUserId() int64
func (*DeleteMemberRequest) ProtoMessage ¶
func (*DeleteMemberRequest) ProtoMessage()
func (*DeleteMemberRequest) ProtoReflect ¶
func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemberRequest) Reset ¶
func (x *DeleteMemberRequest) Reset()
func (*DeleteMemberRequest) String ¶
func (x *DeleteMemberRequest) String() string
type DeleteMemberResponse ¶
type DeleteMemberResponse struct {
// contains filtered or unexported fields
}
func (*DeleteMemberResponse) Descriptor
deprecated
func (*DeleteMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberResponse.ProtoReflect.Descriptor instead.
func (*DeleteMemberResponse) ProtoMessage ¶
func (*DeleteMemberResponse) ProtoMessage()
func (*DeleteMemberResponse) ProtoReflect ¶
func (x *DeleteMemberResponse) ProtoReflect() protoreflect.Message
func (*DeleteMemberResponse) Reset ¶
func (x *DeleteMemberResponse) Reset()
func (*DeleteMemberResponse) String ¶
func (x *DeleteMemberResponse) String() string
type DeleteRoomRequest ¶
type DeleteRoomRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*DeleteRoomRequest) Descriptor
deprecated
func (*DeleteRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomRequest.ProtoReflect.Descriptor instead.
func (*DeleteRoomRequest) GetRoomId ¶
func (x *DeleteRoomRequest) GetRoomId() int64
func (*DeleteRoomRequest) ProtoMessage ¶
func (*DeleteRoomRequest) ProtoMessage()
func (*DeleteRoomRequest) ProtoReflect ¶
func (x *DeleteRoomRequest) ProtoReflect() protoreflect.Message
func (*DeleteRoomRequest) Reset ¶
func (x *DeleteRoomRequest) Reset()
func (*DeleteRoomRequest) String ¶
func (x *DeleteRoomRequest) String() string
type DeleteRoomResponse ¶
type DeleteRoomResponse struct {
// contains filtered or unexported fields
}
func (*DeleteRoomResponse) Descriptor
deprecated
func (*DeleteRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRoomResponse.ProtoReflect.Descriptor instead.
func (*DeleteRoomResponse) ProtoMessage ¶
func (*DeleteRoomResponse) ProtoMessage()
func (*DeleteRoomResponse) ProtoReflect ¶
func (x *DeleteRoomResponse) ProtoReflect() protoreflect.Message
func (*DeleteRoomResponse) Reset ¶
func (x *DeleteRoomResponse) Reset()
func (*DeleteRoomResponse) String ¶
func (x *DeleteRoomResponse) String() string
type DeleteSaveRequest ¶
type DeleteSaveRequest struct { SaveId int64 `protobuf:"varint,1,opt,name=saveId,proto3" json:"saveId,omitempty"` RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*DeleteSaveRequest) Descriptor
deprecated
func (*DeleteSaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSaveRequest.ProtoReflect.Descriptor instead.
func (*DeleteSaveRequest) GetRoomId ¶
func (x *DeleteSaveRequest) GetRoomId() int64
func (*DeleteSaveRequest) GetSaveId ¶
func (x *DeleteSaveRequest) GetSaveId() int64
func (*DeleteSaveRequest) ProtoMessage ¶
func (*DeleteSaveRequest) ProtoMessage()
func (*DeleteSaveRequest) ProtoReflect ¶
func (x *DeleteSaveRequest) ProtoReflect() protoreflect.Message
func (*DeleteSaveRequest) Reset ¶
func (x *DeleteSaveRequest) Reset()
func (*DeleteSaveRequest) String ¶
func (x *DeleteSaveRequest) String() string
type DeleteSaveResponse ¶
type DeleteSaveResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSaveResponse) Descriptor
deprecated
func (*DeleteSaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSaveResponse.ProtoReflect.Descriptor instead.
func (*DeleteSaveResponse) ProtoMessage ¶
func (*DeleteSaveResponse) ProtoMessage()
func (*DeleteSaveResponse) ProtoReflect ¶
func (x *DeleteSaveResponse) ProtoReflect() protoreflect.Message
func (*DeleteSaveResponse) Reset ¶
func (x *DeleteSaveResponse) Reset()
func (*DeleteSaveResponse) String ¶
func (x *DeleteSaveResponse) String() string
type DeleteUserKeyboardBindingRequest ¶
type DeleteUserKeyboardBindingRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,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) 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 Emulator ¶
type Emulator struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` SupportSaving bool `protobuf:"varint,2,opt,name=supportSaving,proto3" json:"supportSaving,omitempty"` SupportGraphicSetting bool `protobuf:"varint,3,opt,name=supportGraphicSetting,proto3" json:"supportGraphicSetting,omitempty"` Games int32 `protobuf:"varint,4,opt,name=Games,proto3" json:"Games,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*Emulator) Descriptor
deprecated
func (*Emulator) GetProvider ¶
func (*Emulator) GetSupportGraphicSetting ¶
func (*Emulator) GetSupportSaving ¶
func (*Emulator) ProtoMessage ¶
func (*Emulator) ProtoMessage()
func (*Emulator) ProtoReflect ¶
func (x *Emulator) ProtoReflect() protoreflect.Message
type FindRoomByNameRequest ¶
type FindRoomByNameRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,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 (*FindRoomByNameRequest) Descriptor
deprecated
func (*FindRoomByNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRoomByNameRequest.ProtoReflect.Descriptor instead.
func (*FindRoomByNameRequest) GetName ¶
func (x *FindRoomByNameRequest) GetName() string
func (*FindRoomByNameRequest) GetPage ¶
func (x *FindRoomByNameRequest) GetPage() int32
func (*FindRoomByNameRequest) GetPageSize ¶
func (x *FindRoomByNameRequest) GetPageSize() int32
func (*FindRoomByNameRequest) ProtoMessage ¶
func (*FindRoomByNameRequest) ProtoMessage()
func (*FindRoomByNameRequest) ProtoReflect ¶
func (x *FindRoomByNameRequest) ProtoReflect() protoreflect.Message
func (*FindRoomByNameRequest) Reset ¶
func (x *FindRoomByNameRequest) Reset()
func (*FindRoomByNameRequest) String ¶
func (x *FindRoomByNameRequest) String() string
type FindRoomByNameResponse ¶
type FindRoomByNameResponse struct { Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*FindRoomByNameResponse) Descriptor
deprecated
func (*FindRoomByNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindRoomByNameResponse.ProtoReflect.Descriptor instead.
func (*FindRoomByNameResponse) GetRooms ¶
func (x *FindRoomByNameResponse) GetRooms() []*Room
func (*FindRoomByNameResponse) GetTotal ¶
func (x *FindRoomByNameResponse) GetTotal() int32
func (*FindRoomByNameResponse) ProtoMessage ¶
func (*FindRoomByNameResponse) ProtoMessage()
func (*FindRoomByNameResponse) ProtoReflect ¶
func (x *FindRoomByNameResponse) ProtoReflect() protoreflect.Message
func (*FindRoomByNameResponse) Reset ¶
func (x *FindRoomByNameResponse) Reset()
func (*FindRoomByNameResponse) String ¶
func (x *FindRoomByNameResponse) String() string
type GameFileMetadata ¶
type GameFileMetadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mapper string `protobuf:"bytes,2,opt,name=mapper,proto3" json:"mapper,omitempty"` Mirroring string `protobuf:"bytes,3,opt,name=mirroring,proto3" json:"mirroring,omitempty"` // contains filtered or unexported fields }
func (*GameFileMetadata) Descriptor
deprecated
func (*GameFileMetadata) Descriptor() ([]byte, []int)
Deprecated: Use GameFileMetadata.ProtoReflect.Descriptor instead.
func (*GameFileMetadata) GetMapper ¶
func (x *GameFileMetadata) GetMapper() string
func (*GameFileMetadata) GetMirroring ¶
func (x *GameFileMetadata) GetMirroring() string
func (*GameFileMetadata) GetName ¶
func (x *GameFileMetadata) GetName() string
func (*GameFileMetadata) ProtoMessage ¶
func (*GameFileMetadata) ProtoMessage()
func (*GameFileMetadata) ProtoReflect ¶
func (x *GameFileMetadata) ProtoReflect() protoreflect.Message
func (*GameFileMetadata) Reset ¶
func (x *GameFileMetadata) Reset()
func (*GameFileMetadata) String ¶
func (x *GameFileMetadata) String() string
type GetEmulatorSpeedRequest ¶
type GetEmulatorSpeedRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*GetEmulatorSpeedRequest) Descriptor
deprecated
func (*GetEmulatorSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEmulatorSpeedRequest.ProtoReflect.Descriptor instead.
func (*GetEmulatorSpeedRequest) GetRoomId ¶
func (x *GetEmulatorSpeedRequest) GetRoomId() int64
func (*GetEmulatorSpeedRequest) ProtoMessage ¶
func (*GetEmulatorSpeedRequest) ProtoMessage()
func (*GetEmulatorSpeedRequest) ProtoReflect ¶
func (x *GetEmulatorSpeedRequest) ProtoReflect() protoreflect.Message
func (*GetEmulatorSpeedRequest) Reset ¶
func (x *GetEmulatorSpeedRequest) Reset()
func (*GetEmulatorSpeedRequest) String ¶
func (x *GetEmulatorSpeedRequest) String() string
type GetEmulatorSpeedResponse ¶
type GetEmulatorSpeedResponse struct { Rate float64 `protobuf:"fixed64,1,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*GetEmulatorSpeedResponse) Descriptor
deprecated
func (*GetEmulatorSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEmulatorSpeedResponse.ProtoReflect.Descriptor instead.
func (*GetEmulatorSpeedResponse) GetRate ¶
func (x *GetEmulatorSpeedResponse) GetRate() float64
func (*GetEmulatorSpeedResponse) ProtoMessage ¶
func (*GetEmulatorSpeedResponse) ProtoMessage()
func (*GetEmulatorSpeedResponse) ProtoReflect ¶
func (x *GetEmulatorSpeedResponse) ProtoReflect() protoreflect.Message
func (*GetEmulatorSpeedResponse) Reset ¶
func (x *GetEmulatorSpeedResponse) Reset()
func (*GetEmulatorSpeedResponse) String ¶
func (x *GetEmulatorSpeedResponse) String() string
type GetGraphicOptionsRequest ¶
type GetGraphicOptionsRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*GetGraphicOptionsRequest) Descriptor
deprecated
func (*GetGraphicOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGraphicOptionsRequest.ProtoReflect.Descriptor instead.
func (*GetGraphicOptionsRequest) GetRoomId ¶
func (x *GetGraphicOptionsRequest) GetRoomId() int64
func (*GetGraphicOptionsRequest) ProtoMessage ¶
func (*GetGraphicOptionsRequest) ProtoMessage()
func (*GetGraphicOptionsRequest) ProtoReflect ¶
func (x *GetGraphicOptionsRequest) ProtoReflect() protoreflect.Message
func (*GetGraphicOptionsRequest) Reset ¶
func (x *GetGraphicOptionsRequest) Reset()
func (*GetGraphicOptionsRequest) String ¶
func (x *GetGraphicOptionsRequest) String() string
type GetGraphicOptionsResponse ¶
type GetGraphicOptionsResponse struct { HighResOpen bool `protobuf:"varint,1,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"` ReverseColor bool `protobuf:"varint,2,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"` Grayscale bool `protobuf:"varint,3,opt,name=grayscale,proto3" json:"grayscale,omitempty"` // contains filtered or unexported fields }
func (*GetGraphicOptionsResponse) Descriptor
deprecated
func (*GetGraphicOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGraphicOptionsResponse.ProtoReflect.Descriptor instead.
func (*GetGraphicOptionsResponse) GetGrayscale ¶
func (x *GetGraphicOptionsResponse) GetGrayscale() bool
func (*GetGraphicOptionsResponse) GetHighResOpen ¶
func (x *GetGraphicOptionsResponse) GetHighResOpen() bool
func (*GetGraphicOptionsResponse) GetReverseColor ¶
func (x *GetGraphicOptionsResponse) GetReverseColor() bool
func (*GetGraphicOptionsResponse) ProtoMessage ¶
func (*GetGraphicOptionsResponse) ProtoMessage()
func (*GetGraphicOptionsResponse) ProtoReflect ¶
func (x *GetGraphicOptionsResponse) ProtoReflect() protoreflect.Message
func (*GetGraphicOptionsResponse) Reset ¶
func (x *GetGraphicOptionsResponse) Reset()
func (*GetGraphicOptionsResponse) String ¶
func (x *GetGraphicOptionsResponse) 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 GetRoomMemberRequest ¶
type GetRoomMemberRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*GetRoomMemberRequest) Descriptor
deprecated
func (*GetRoomMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomMemberRequest.ProtoReflect.Descriptor instead.
func (*GetRoomMemberRequest) GetRoomId ¶
func (x *GetRoomMemberRequest) GetRoomId() int64
func (*GetRoomMemberRequest) ProtoMessage ¶
func (*GetRoomMemberRequest) ProtoMessage()
func (*GetRoomMemberRequest) ProtoReflect ¶
func (x *GetRoomMemberRequest) ProtoReflect() protoreflect.Message
func (*GetRoomMemberRequest) Reset ¶
func (x *GetRoomMemberRequest) Reset()
func (*GetRoomMemberRequest) String ¶
func (x *GetRoomMemberRequest) String() string
type GetRoomMemberResponse ¶
type GetRoomMemberResponse struct { Member *Member `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
func (*GetRoomMemberResponse) Descriptor
deprecated
func (*GetRoomMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomMemberResponse.ProtoReflect.Descriptor instead.
func (*GetRoomMemberResponse) GetMember ¶
func (x *GetRoomMemberResponse) GetMember() *Member
func (*GetRoomMemberResponse) ProtoMessage ¶
func (*GetRoomMemberResponse) ProtoMessage()
func (*GetRoomMemberResponse) ProtoReflect ¶
func (x *GetRoomMemberResponse) ProtoReflect() protoreflect.Message
func (*GetRoomMemberResponse) Reset ¶
func (x *GetRoomMemberResponse) Reset()
func (*GetRoomMemberResponse) String ¶
func (x *GetRoomMemberResponse) String() string
type GetRoomRequest ¶
type GetRoomRequest struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetRoomRequest) Descriptor
deprecated
func (*GetRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead.
func (*GetRoomRequest) GetId ¶
func (x *GetRoomRequest) GetId() int64
func (*GetRoomRequest) ProtoMessage ¶
func (*GetRoomRequest) ProtoMessage()
func (*GetRoomRequest) ProtoReflect ¶
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message
func (*GetRoomRequest) Reset ¶
func (x *GetRoomRequest) Reset()
func (*GetRoomRequest) String ¶
func (x *GetRoomRequest) String() string
type GetRoomResponse ¶
type GetRoomResponse 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"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` Host int64 `protobuf:"varint,4,opt,name=host,proto3" json:"host,omitempty"` HostName string `protobuf:"bytes,5,opt,name=hostName,proto3" json:"hostName,omitempty"` MemberCount int32 `protobuf:"varint,6,opt,name=memberCount,proto3" json:"memberCount,omitempty"` MemberLimit int32 `protobuf:"varint,7,opt,name=memberLimit,proto3" json:"memberLimit,omitempty"` CreateTime int64 `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime,omitempty"` Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` EmulatorType string `protobuf:"bytes,10,opt,name=emulatorType,proto3" json:"emulatorType,omitempty"` // contains filtered or unexported fields }
func (*GetRoomResponse) Descriptor
deprecated
func (*GetRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomResponse.ProtoReflect.Descriptor instead.
func (*GetRoomResponse) GetCreateTime ¶
func (x *GetRoomResponse) GetCreateTime() int64
func (*GetRoomResponse) GetEmulatorType ¶
func (x *GetRoomResponse) GetEmulatorType() string
func (*GetRoomResponse) GetHost ¶
func (x *GetRoomResponse) GetHost() int64
func (*GetRoomResponse) GetHostName ¶
func (x *GetRoomResponse) GetHostName() string
func (*GetRoomResponse) GetId ¶
func (x *GetRoomResponse) GetId() int64
func (*GetRoomResponse) GetMemberCount ¶
func (x *GetRoomResponse) GetMemberCount() int32
func (*GetRoomResponse) GetMemberLimit ¶
func (x *GetRoomResponse) GetMemberLimit() int32
func (*GetRoomResponse) GetName ¶
func (x *GetRoomResponse) GetName() string
func (*GetRoomResponse) GetPassword ¶
func (x *GetRoomResponse) GetPassword() string
func (*GetRoomResponse) GetPrivate ¶
func (x *GetRoomResponse) GetPrivate() bool
func (*GetRoomResponse) ProtoMessage ¶
func (*GetRoomResponse) ProtoMessage()
func (*GetRoomResponse) ProtoReflect ¶
func (x *GetRoomResponse) ProtoReflect() protoreflect.Message
func (*GetRoomResponse) Reset ¶
func (x *GetRoomResponse) Reset()
func (*GetRoomResponse) String ¶
func (x *GetRoomResponse) String() string
type GetRoomSessionRequest ¶
type GetRoomSessionRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*GetRoomSessionRequest) Descriptor
deprecated
func (*GetRoomSessionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomSessionRequest.ProtoReflect.Descriptor instead.
func (*GetRoomSessionRequest) GetRoomId ¶
func (x *GetRoomSessionRequest) GetRoomId() int64
func (*GetRoomSessionRequest) GetUserId ¶
func (x *GetRoomSessionRequest) GetUserId() int64
func (*GetRoomSessionRequest) ProtoMessage ¶
func (*GetRoomSessionRequest) ProtoMessage()
func (*GetRoomSessionRequest) ProtoReflect ¶
func (x *GetRoomSessionRequest) ProtoReflect() protoreflect.Message
func (*GetRoomSessionRequest) Reset ¶
func (x *GetRoomSessionRequest) Reset()
func (*GetRoomSessionRequest) String ¶
func (x *GetRoomSessionRequest) String() string
type GetRoomSessionResponse ¶
type GetRoomSessionResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*GetRoomSessionResponse) Descriptor
deprecated
func (*GetRoomSessionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomSessionResponse.ProtoReflect.Descriptor instead.
func (*GetRoomSessionResponse) GetEndpoint ¶
func (x *GetRoomSessionResponse) GetEndpoint() string
func (*GetRoomSessionResponse) GetRoomId ¶
func (x *GetRoomSessionResponse) GetRoomId() int64
func (*GetRoomSessionResponse) ProtoMessage ¶
func (*GetRoomSessionResponse) ProtoMessage()
func (*GetRoomSessionResponse) ProtoReflect ¶
func (x *GetRoomSessionResponse) ProtoReflect() protoreflect.Message
func (*GetRoomSessionResponse) Reset ¶
func (x *GetRoomSessionResponse) Reset()
func (*GetRoomSessionResponse) String ¶
func (x *GetRoomSessionResponse) String() string
type GetServerICECandidateRequest ¶
type GetServerICECandidateRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*GetServerICECandidateRequest) Descriptor
deprecated
func (*GetServerICECandidateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServerICECandidateRequest.ProtoReflect.Descriptor instead.
func (*GetServerICECandidateRequest) GetRoomId ¶
func (x *GetServerICECandidateRequest) GetRoomId() int64
func (*GetServerICECandidateRequest) ProtoMessage ¶
func (*GetServerICECandidateRequest) ProtoMessage()
func (*GetServerICECandidateRequest) ProtoReflect ¶
func (x *GetServerICECandidateRequest) ProtoReflect() protoreflect.Message
func (*GetServerICECandidateRequest) Reset ¶
func (x *GetServerICECandidateRequest) Reset()
func (*GetServerICECandidateRequest) String ¶
func (x *GetServerICECandidateRequest) String() string
type GetServerICECandidateResponse ¶
type GetServerICECandidateResponse struct { Candidates []string `protobuf:"bytes,1,rep,name=candidates,proto3" json:"candidates,omitempty"` // contains filtered or unexported fields }
func (*GetServerICECandidateResponse) Descriptor
deprecated
func (*GetServerICECandidateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetServerICECandidateResponse.ProtoReflect.Descriptor instead.
func (*GetServerICECandidateResponse) GetCandidates ¶
func (x *GetServerICECandidateResponse) GetCandidates() []string
func (*GetServerICECandidateResponse) ProtoMessage ¶
func (*GetServerICECandidateResponse) ProtoMessage()
func (*GetServerICECandidateResponse) ProtoReflect ¶
func (x *GetServerICECandidateResponse) ProtoReflect() protoreflect.Message
func (*GetServerICECandidateResponse) Reset ¶
func (x *GetServerICECandidateResponse) Reset()
func (*GetServerICECandidateResponse) String ¶
func (x *GetServerICECandidateResponse) 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 { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Data *User `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetCode ¶
func (x *GetUserResponse) GetCode() int32
func (*GetUserResponse) GetData ¶
func (x *GetUserResponse) GetData() *User
func (*GetUserResponse) GetMessage ¶
func (x *GetUserResponse) GetMessage() 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 JoinRoomRequest ¶
type JoinRoomRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*JoinRoomRequest) Descriptor
deprecated
func (*JoinRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRoomRequest.ProtoReflect.Descriptor instead.
func (*JoinRoomRequest) GetPassword ¶
func (x *JoinRoomRequest) GetPassword() string
func (*JoinRoomRequest) GetRoomId ¶
func (x *JoinRoomRequest) GetRoomId() int64
func (*JoinRoomRequest) ProtoMessage ¶
func (*JoinRoomRequest) ProtoMessage()
func (*JoinRoomRequest) ProtoReflect ¶
func (x *JoinRoomRequest) ProtoReflect() protoreflect.Message
func (*JoinRoomRequest) Reset ¶
func (x *JoinRoomRequest) Reset()
func (*JoinRoomRequest) String ¶
func (x *JoinRoomRequest) String() string
type JoinRoomResponse ¶
type JoinRoomResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Role v1.RoomRole `protobuf:"varint,3,opt,name=role,proto3,enum=room.v1.RoomRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*JoinRoomResponse) Descriptor
deprecated
func (*JoinRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use JoinRoomResponse.ProtoReflect.Descriptor instead.
func (*JoinRoomResponse) GetRole ¶
func (x *JoinRoomResponse) GetRole() v1.RoomRole
func (*JoinRoomResponse) GetRoomId ¶
func (x *JoinRoomResponse) GetRoomId() int64
func (*JoinRoomResponse) GetUserId ¶
func (x *JoinRoomResponse) GetUserId() int64
func (*JoinRoomResponse) ProtoMessage ¶
func (*JoinRoomResponse) ProtoMessage()
func (*JoinRoomResponse) ProtoReflect ¶
func (x *JoinRoomResponse) ProtoReflect() protoreflect.Message
func (*JoinRoomResponse) Reset ¶
func (x *JoinRoomResponse) Reset()
func (*JoinRoomResponse) String ¶
func (x *JoinRoomResponse) 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 ListGamesRequest ¶
type ListGamesRequest struct {
// contains filtered or unexported fields
}
func (*ListGamesRequest) Descriptor
deprecated
func (*ListGamesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGamesRequest.ProtoReflect.Descriptor instead.
func (*ListGamesRequest) ProtoMessage ¶
func (*ListGamesRequest) ProtoMessage()
func (*ListGamesRequest) ProtoReflect ¶
func (x *ListGamesRequest) ProtoReflect() protoreflect.Message
func (*ListGamesRequest) Reset ¶
func (x *ListGamesRequest) Reset()
func (*ListGamesRequest) String ¶
func (x *ListGamesRequest) String() string
type ListGamesResponse ¶
type ListGamesResponse struct { Games []*GameFileMetadata `protobuf:"bytes,1,rep,name=games,proto3" json:"games,omitempty"` // contains filtered or unexported fields }
func (*ListGamesResponse) Descriptor
deprecated
func (*ListGamesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGamesResponse.ProtoReflect.Descriptor instead.
func (*ListGamesResponse) GetGames ¶
func (x *ListGamesResponse) GetGames() []*GameFileMetadata
func (*ListGamesResponse) ProtoMessage ¶
func (*ListGamesResponse) ProtoMessage()
func (*ListGamesResponse) ProtoReflect ¶
func (x *ListGamesResponse) ProtoReflect() protoreflect.Message
func (*ListGamesResponse) Reset ¶
func (x *ListGamesResponse) Reset()
func (*ListGamesResponse) String ¶
func (x *ListGamesResponse) String() string
type ListMacroRequest ¶
type ListMacroRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,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) 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 ListMemberRequest ¶
type ListMemberRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*ListMemberRequest) Descriptor
deprecated
func (*ListMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberRequest.ProtoReflect.Descriptor instead.
func (*ListMemberRequest) GetRoomId ¶
func (x *ListMemberRequest) GetRoomId() int64
func (*ListMemberRequest) ProtoMessage ¶
func (*ListMemberRequest) ProtoMessage()
func (*ListMemberRequest) ProtoReflect ¶
func (x *ListMemberRequest) ProtoReflect() protoreflect.Message
func (*ListMemberRequest) Reset ¶
func (x *ListMemberRequest) Reset()
func (*ListMemberRequest) String ¶
func (x *ListMemberRequest) String() string
type ListMemberResponse ¶
type ListMemberResponse struct { Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
func (*ListMemberResponse) Descriptor
deprecated
func (*ListMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListMemberResponse.ProtoReflect.Descriptor instead.
func (*ListMemberResponse) GetMembers ¶
func (x *ListMemberResponse) GetMembers() []*Member
func (*ListMemberResponse) ProtoMessage ¶
func (*ListMemberResponse) ProtoMessage()
func (*ListMemberResponse) ProtoReflect ¶
func (x *ListMemberResponse) ProtoReflect() protoreflect.Message
func (*ListMemberResponse) Reset ¶
func (x *ListMemberResponse) Reset()
func (*ListMemberResponse) String ¶
func (x *ListMemberResponse) String() string
type ListRoomRequest ¶
type ListRoomRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*ListRoomRequest) Descriptor
deprecated
func (*ListRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomRequest.ProtoReflect.Descriptor instead.
func (*ListRoomRequest) GetPage ¶
func (x *ListRoomRequest) GetPage() int32
func (*ListRoomRequest) GetPageSize ¶
func (x *ListRoomRequest) GetPageSize() int32
func (*ListRoomRequest) ProtoMessage ¶
func (*ListRoomRequest) ProtoMessage()
func (*ListRoomRequest) ProtoReflect ¶
func (x *ListRoomRequest) ProtoReflect() protoreflect.Message
func (*ListRoomRequest) Reset ¶
func (x *ListRoomRequest) Reset()
func (*ListRoomRequest) String ¶
func (x *ListRoomRequest) String() string
type ListRoomResponse ¶
type ListRoomResponse struct { Rooms []*Room `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListRoomResponse) Descriptor
deprecated
func (*ListRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRoomResponse.ProtoReflect.Descriptor instead.
func (*ListRoomResponse) GetRooms ¶
func (x *ListRoomResponse) GetRooms() []*Room
func (*ListRoomResponse) GetTotal ¶
func (x *ListRoomResponse) GetTotal() int32
func (*ListRoomResponse) ProtoMessage ¶
func (*ListRoomResponse) ProtoMessage()
func (*ListRoomResponse) ProtoReflect ¶
func (x *ListRoomResponse) ProtoReflect() protoreflect.Message
func (*ListRoomResponse) Reset ¶
func (x *ListRoomResponse) Reset()
func (*ListRoomResponse) String ¶
func (x *ListRoomResponse) String() string
type ListSavesRequest ¶
type ListSavesRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,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 (*ListSavesRequest) Descriptor
deprecated
func (*ListSavesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSavesRequest.ProtoReflect.Descriptor instead.
func (*ListSavesRequest) GetPage ¶
func (x *ListSavesRequest) GetPage() int32
func (*ListSavesRequest) GetPageSize ¶
func (x *ListSavesRequest) GetPageSize() int32
func (*ListSavesRequest) GetRoomId ¶
func (x *ListSavesRequest) GetRoomId() int64
func (*ListSavesRequest) ProtoMessage ¶
func (*ListSavesRequest) ProtoMessage()
func (*ListSavesRequest) ProtoReflect ¶
func (x *ListSavesRequest) ProtoReflect() protoreflect.Message
func (*ListSavesRequest) Reset ¶
func (x *ListSavesRequest) Reset()
func (*ListSavesRequest) String ¶
func (x *ListSavesRequest) String() string
type ListSavesResponse ¶
type ListSavesResponse struct { Saves []*Save `protobuf:"bytes,1,rep,name=saves,proto3" json:"saves,omitempty"` Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListSavesResponse) Descriptor
deprecated
func (*ListSavesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSavesResponse.ProtoReflect.Descriptor instead.
func (*ListSavesResponse) GetSaves ¶
func (x *ListSavesResponse) GetSaves() []*Save
func (*ListSavesResponse) GetTotal ¶
func (x *ListSavesResponse) GetTotal() int32
func (*ListSavesResponse) ProtoMessage ¶
func (*ListSavesResponse) ProtoMessage()
func (*ListSavesResponse) ProtoReflect ¶
func (x *ListSavesResponse) ProtoReflect() protoreflect.Message
func (*ListSavesResponse) Reset ¶
func (x *ListSavesResponse) Reset()
func (*ListSavesResponse) String ¶
func (x *ListSavesResponse) String() string
type ListSupportedEmulatorsRequest ¶
type ListSupportedEmulatorsRequest struct {
// contains filtered or unexported fields
}
func (*ListSupportedEmulatorsRequest) Descriptor
deprecated
func (*ListSupportedEmulatorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSupportedEmulatorsRequest.ProtoReflect.Descriptor instead.
func (*ListSupportedEmulatorsRequest) ProtoMessage ¶
func (*ListSupportedEmulatorsRequest) ProtoMessage()
func (*ListSupportedEmulatorsRequest) ProtoReflect ¶
func (x *ListSupportedEmulatorsRequest) ProtoReflect() protoreflect.Message
func (*ListSupportedEmulatorsRequest) Reset ¶
func (x *ListSupportedEmulatorsRequest) Reset()
func (*ListSupportedEmulatorsRequest) String ¶
func (x *ListSupportedEmulatorsRequest) String() string
type ListSupportedEmulatorsResponse ¶
type ListSupportedEmulatorsResponse struct { Emulators []*Emulator `protobuf:"bytes,1,rep,name=emulators,proto3" json:"emulators,omitempty"` // contains filtered or unexported fields }
func (*ListSupportedEmulatorsResponse) Descriptor
deprecated
func (*ListSupportedEmulatorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSupportedEmulatorsResponse.ProtoReflect.Descriptor instead.
func (*ListSupportedEmulatorsResponse) GetEmulators ¶
func (x *ListSupportedEmulatorsResponse) GetEmulators() []*Emulator
func (*ListSupportedEmulatorsResponse) ProtoMessage ¶
func (*ListSupportedEmulatorsResponse) ProtoMessage()
func (*ListSupportedEmulatorsResponse) ProtoReflect ¶
func (x *ListSupportedEmulatorsResponse) ProtoReflect() protoreflect.Message
func (*ListSupportedEmulatorsResponse) Reset ¶
func (x *ListSupportedEmulatorsResponse) Reset()
func (*ListSupportedEmulatorsResponse) String ¶
func (x *ListSupportedEmulatorsResponse) String() string
type ListUserKeyboardBindingRequest ¶
type ListUserKeyboardBindingRequest struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,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) 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 LoadSaveRequest ¶
type LoadSaveRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` SaveId int64 `protobuf:"varint,2,opt,name=saveId,proto3" json:"saveId,omitempty"` // contains filtered or unexported fields }
func (*LoadSaveRequest) Descriptor
deprecated
func (*LoadSaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadSaveRequest.ProtoReflect.Descriptor instead.
func (*LoadSaveRequest) GetRoomId ¶
func (x *LoadSaveRequest) GetRoomId() int64
func (*LoadSaveRequest) GetSaveId ¶
func (x *LoadSaveRequest) GetSaveId() int64
func (*LoadSaveRequest) ProtoMessage ¶
func (*LoadSaveRequest) ProtoMessage()
func (*LoadSaveRequest) ProtoReflect ¶
func (x *LoadSaveRequest) ProtoReflect() protoreflect.Message
func (*LoadSaveRequest) Reset ¶
func (x *LoadSaveRequest) Reset()
func (*LoadSaveRequest) String ¶
func (x *LoadSaveRequest) String() string
type LoadSaveResponse ¶
type LoadSaveResponse struct {
// contains filtered or unexported fields
}
func (*LoadSaveResponse) Descriptor
deprecated
func (*LoadSaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadSaveResponse.ProtoReflect.Descriptor instead.
func (*LoadSaveResponse) ProtoMessage ¶
func (*LoadSaveResponse) ProtoMessage()
func (*LoadSaveResponse) ProtoReflect ¶
func (x *LoadSaveResponse) ProtoReflect() protoreflect.Message
func (*LoadSaveResponse) Reset ¶
func (x *LoadSaveResponse) Reset()
func (*LoadSaveResponse) String ¶
func (x *LoadSaveResponse) String() string
type LoginRequest ¶
type LoginRequest 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 (*LoginRequest) Descriptor
deprecated
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetName ¶
func (x *LoginRequest) GetName() string
func (*LoginRequest) GetPassword ¶
func (x *LoginRequest) GetPassword() string
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶
func (x *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*LoginResponse) Descriptor
deprecated
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetToken ¶
func (x *LoginResponse) GetToken() string
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶
func (x *LoginResponse) 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 Member ¶
type Member 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"` Role v1.RoomRole `protobuf:"varint,3,opt,name=role,proto3,enum=room.v1.RoomRole" json:"role,omitempty"` JoinedAt int64 `protobuf:"varint,4,opt,name=joinedAt,proto3" json:"joinedAt,omitempty"` Player1 bool `protobuf:"varint,5,opt,name=player1,proto3" json:"player1,omitempty"` Player2 bool `protobuf:"varint,6,opt,name=player2,proto3" json:"player2,omitempty"` // contains filtered or unexported fields }
func (*Member) Descriptor
deprecated
func (*Member) GetJoinedAt ¶
func (*Member) GetPlayer1 ¶
func (*Member) GetPlayer2 ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type NesgoWebAPIErrorReason ¶
type NesgoWebAPIErrorReason int32
const ( NesgoWebAPIErrorReason_UNKNOWN_ERROR NesgoWebAPIErrorReason = 0 NesgoWebAPIErrorReason_LOGIN_FAILED NesgoWebAPIErrorReason = 1 NesgoWebAPIErrorReason_USERNAME_CONFLICT NesgoWebAPIErrorReason = 2 NesgoWebAPIErrorReason_REGISTER_FAILED NesgoWebAPIErrorReason = 3 NesgoWebAPIErrorReason_OPERATION_FAILED NesgoWebAPIErrorReason = 4 )
func (NesgoWebAPIErrorReason) Descriptor ¶
func (NesgoWebAPIErrorReason) Descriptor() protoreflect.EnumDescriptor
func (NesgoWebAPIErrorReason) Enum ¶
func (x NesgoWebAPIErrorReason) Enum() *NesgoWebAPIErrorReason
func (NesgoWebAPIErrorReason) EnumDescriptor
deprecated
func (NesgoWebAPIErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use NesgoWebAPIErrorReason.Descriptor instead.
func (NesgoWebAPIErrorReason) Number ¶
func (x NesgoWebAPIErrorReason) Number() protoreflect.EnumNumber
func (NesgoWebAPIErrorReason) String ¶
func (x NesgoWebAPIErrorReason) String() string
func (NesgoWebAPIErrorReason) Type ¶
func (NesgoWebAPIErrorReason) Type() protoreflect.EnumType
type OpenGameConnectionRequest ¶
type OpenGameConnectionRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Game string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"` // contains filtered or unexported fields }
func (*OpenGameConnectionRequest) Descriptor
deprecated
func (*OpenGameConnectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenGameConnectionRequest.ProtoReflect.Descriptor instead.
func (*OpenGameConnectionRequest) GetGame ¶
func (x *OpenGameConnectionRequest) GetGame() string
func (*OpenGameConnectionRequest) GetRoomId ¶
func (x *OpenGameConnectionRequest) GetRoomId() int64
func (*OpenGameConnectionRequest) GetUserId ¶
func (x *OpenGameConnectionRequest) GetUserId() int64
func (*OpenGameConnectionRequest) ProtoMessage ¶
func (*OpenGameConnectionRequest) ProtoMessage()
func (*OpenGameConnectionRequest) ProtoReflect ¶
func (x *OpenGameConnectionRequest) ProtoReflect() protoreflect.Message
func (*OpenGameConnectionRequest) Reset ¶
func (x *OpenGameConnectionRequest) Reset()
func (*OpenGameConnectionRequest) String ¶
func (x *OpenGameConnectionRequest) String() string
type OpenGameConnectionResponse ¶
type OpenGameConnectionResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` SdpOffer string `protobuf:"bytes,3,opt,name=sdpOffer,proto3" json:"sdpOffer,omitempty"` // contains filtered or unexported fields }
func (*OpenGameConnectionResponse) Descriptor
deprecated
func (*OpenGameConnectionResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenGameConnectionResponse.ProtoReflect.Descriptor instead.
func (*OpenGameConnectionResponse) GetRoomId ¶
func (x *OpenGameConnectionResponse) GetRoomId() int64
func (*OpenGameConnectionResponse) GetSdpOffer ¶
func (x *OpenGameConnectionResponse) GetSdpOffer() string
func (*OpenGameConnectionResponse) GetUserId ¶
func (x *OpenGameConnectionResponse) GetUserId() int64
func (*OpenGameConnectionResponse) ProtoMessage ¶
func (*OpenGameConnectionResponse) ProtoMessage()
func (*OpenGameConnectionResponse) ProtoReflect ¶
func (x *OpenGameConnectionResponse) ProtoReflect() protoreflect.Message
func (*OpenGameConnectionResponse) Reset ¶
func (x *OpenGameConnectionResponse) Reset()
func (*OpenGameConnectionResponse) String ¶
func (x *OpenGameConnectionResponse) String() string
type RegisterRequest ¶
type RegisterRequest 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 (*RegisterRequest) Descriptor
deprecated
func (*RegisterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) GetName ¶
func (x *RegisterRequest) GetName() string
func (*RegisterRequest) GetPassword ¶
func (x *RegisterRequest) GetPassword() string
func (*RegisterRequest) ProtoMessage ¶
func (*RegisterRequest) ProtoMessage()
func (*RegisterRequest) ProtoReflect ¶
func (x *RegisterRequest) ProtoReflect() protoreflect.Message
func (*RegisterRequest) Reset ¶
func (x *RegisterRequest) Reset()
func (*RegisterRequest) String ¶
func (x *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct {
// contains filtered or unexported fields
}
func (*RegisterResponse) Descriptor
deprecated
func (*RegisterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) ProtoMessage ¶
func (*RegisterResponse) ProtoMessage()
func (*RegisterResponse) ProtoReflect ¶
func (x *RegisterResponse) ProtoReflect() protoreflect.Message
func (*RegisterResponse) Reset ¶
func (x *RegisterResponse) Reset()
func (*RegisterResponse) String ¶
func (x *RegisterResponse) String() string
type RestartEmulatorRequest ¶
type RestartEmulatorRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Game string `protobuf:"bytes,2,opt,name=game,proto3" json:"game,omitempty"` // contains filtered or unexported fields }
func (*RestartEmulatorRequest) Descriptor
deprecated
func (*RestartEmulatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartEmulatorRequest.ProtoReflect.Descriptor instead.
func (*RestartEmulatorRequest) GetGame ¶
func (x *RestartEmulatorRequest) GetGame() string
func (*RestartEmulatorRequest) GetRoomId ¶
func (x *RestartEmulatorRequest) GetRoomId() int64
func (*RestartEmulatorRequest) ProtoMessage ¶
func (*RestartEmulatorRequest) ProtoMessage()
func (*RestartEmulatorRequest) ProtoReflect ¶
func (x *RestartEmulatorRequest) ProtoReflect() protoreflect.Message
func (*RestartEmulatorRequest) Reset ¶
func (x *RestartEmulatorRequest) Reset()
func (*RestartEmulatorRequest) String ¶
func (x *RestartEmulatorRequest) String() string
type RestartEmulatorResponse ¶
type RestartEmulatorResponse struct {
// contains filtered or unexported fields
}
func (*RestartEmulatorResponse) Descriptor
deprecated
func (*RestartEmulatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestartEmulatorResponse.ProtoReflect.Descriptor instead.
func (*RestartEmulatorResponse) ProtoMessage ¶
func (*RestartEmulatorResponse) ProtoMessage()
func (*RestartEmulatorResponse) ProtoReflect ¶
func (x *RestartEmulatorResponse) ProtoReflect() protoreflect.Message
func (*RestartEmulatorResponse) Reset ¶
func (x *RestartEmulatorResponse) Reset()
func (*RestartEmulatorResponse) String ¶
func (x *RestartEmulatorResponse) String() string
type Room ¶
type Room 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"` Host int64 `protobuf:"varint,3,opt,name=host,proto3" json:"host,omitempty"` HostName string `protobuf:"bytes,4,opt,name=hostName,proto3" json:"hostName,omitempty"` Private bool `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"` MemberCount int32 `protobuf:"varint,6,opt,name=memberCount,proto3" json:"memberCount,omitempty"` MemberLimit int32 `protobuf:"varint,7,opt,name=memberLimit,proto3" json:"memberLimit,omitempty"` CreateTime int64 `protobuf:"varint,8,opt,name=createTime,proto3" json:"createTime,omitempty"` Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` EmulatorType string `protobuf:"bytes,10,opt,name=emulatorType,proto3" json:"emulatorType,omitempty"` // contains filtered or unexported fields }
func (*Room) Descriptor
deprecated
func (*Room) GetCreateTime ¶
func (*Room) GetEmulatorType ¶
func (*Room) GetHostName ¶
func (*Room) GetMemberCount ¶
func (*Room) GetMemberLimit ¶
func (*Room) GetPassword ¶
func (*Room) GetPrivate ¶
func (*Room) ProtoMessage ¶
func (*Room) ProtoMessage()
func (*Room) ProtoReflect ¶
func (x *Room) ProtoReflect() protoreflect.Message
type SDPAnswerRequest ¶
type SDPAnswerRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` SdpAnswer string `protobuf:"bytes,3,opt,name=sdpAnswer,proto3" json:"sdpAnswer,omitempty"` // contains filtered or unexported fields }
func (*SDPAnswerRequest) Descriptor
deprecated
func (*SDPAnswerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SDPAnswerRequest.ProtoReflect.Descriptor instead.
func (*SDPAnswerRequest) GetRoomId ¶
func (x *SDPAnswerRequest) GetRoomId() int64
func (*SDPAnswerRequest) GetSdpAnswer ¶
func (x *SDPAnswerRequest) GetSdpAnswer() string
func (*SDPAnswerRequest) GetUserId ¶
func (x *SDPAnswerRequest) GetUserId() int64
func (*SDPAnswerRequest) ProtoMessage ¶
func (*SDPAnswerRequest) ProtoMessage()
func (*SDPAnswerRequest) ProtoReflect ¶
func (x *SDPAnswerRequest) ProtoReflect() protoreflect.Message
func (*SDPAnswerRequest) Reset ¶
func (x *SDPAnswerRequest) Reset()
func (*SDPAnswerRequest) String ¶
func (x *SDPAnswerRequest) String() string
type SDPAnswerResponse ¶
type SDPAnswerResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` // contains filtered or unexported fields }
func (*SDPAnswerResponse) Descriptor
deprecated
func (*SDPAnswerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SDPAnswerResponse.ProtoReflect.Descriptor instead.
func (*SDPAnswerResponse) GetRoomId ¶
func (x *SDPAnswerResponse) GetRoomId() int64
func (*SDPAnswerResponse) GetUserId ¶
func (x *SDPAnswerResponse) GetUserId() int64
func (*SDPAnswerResponse) ProtoMessage ¶
func (*SDPAnswerResponse) ProtoMessage()
func (*SDPAnswerResponse) ProtoReflect ¶
func (x *SDPAnswerResponse) ProtoReflect() protoreflect.Message
func (*SDPAnswerResponse) Reset ¶
func (x *SDPAnswerResponse) Reset()
func (*SDPAnswerResponse) String ¶
func (x *SDPAnswerResponse) String() string
type Save ¶
type Save struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` RoomId int64 `protobuf:"varint,2,opt,name=roomId,proto3" json:"roomId,omitempty"` Game string `protobuf:"bytes,3,opt,name=game,proto3" json:"game,omitempty"` CreateTime int64 `protobuf:"varint,4,opt,name=createTime,proto3" json:"createTime,omitempty"` ExitSave bool `protobuf:"varint,5,opt,name=exitSave,proto3" json:"exitSave,omitempty"` // contains filtered or unexported fields }
func (*Save) Descriptor
deprecated
func (*Save) GetCreateTime ¶
func (*Save) GetExitSave ¶
func (*Save) ProtoMessage ¶
func (*Save) ProtoMessage()
func (*Save) ProtoReflect ¶
func (x *Save) ProtoReflect() protoreflect.Message
type SaveGameRequest ¶
type SaveGameRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` // contains filtered or unexported fields }
func (*SaveGameRequest) Descriptor
deprecated
func (*SaveGameRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveGameRequest.ProtoReflect.Descriptor instead.
func (*SaveGameRequest) GetRoomId ¶
func (x *SaveGameRequest) GetRoomId() int64
func (*SaveGameRequest) ProtoMessage ¶
func (*SaveGameRequest) ProtoMessage()
func (*SaveGameRequest) ProtoReflect ¶
func (x *SaveGameRequest) ProtoReflect() protoreflect.Message
func (*SaveGameRequest) Reset ¶
func (x *SaveGameRequest) Reset()
func (*SaveGameRequest) String ¶
func (x *SaveGameRequest) String() string
type SaveGameResponse ¶
type SaveGameResponse struct {
// contains filtered or unexported fields
}
func (*SaveGameResponse) Descriptor
deprecated
func (*SaveGameResponse) Descriptor() ([]byte, []int)
Deprecated: Use SaveGameResponse.ProtoReflect.Descriptor instead.
func (*SaveGameResponse) ProtoMessage ¶
func (*SaveGameResponse) ProtoMessage()
func (*SaveGameResponse) ProtoReflect ¶
func (x *SaveGameResponse) ProtoReflect() protoreflect.Message
func (*SaveGameResponse) Reset ¶
func (x *SaveGameResponse) Reset()
func (*SaveGameResponse) String ¶
func (x *SaveGameResponse) String() string
type SetControllerRequest ¶
type SetControllerRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` PlayerId int64 `protobuf:"varint,2,opt,name=playerId,proto3" json:"playerId,omitempty"` ControllerId int32 `protobuf:"varint,3,opt,name=controllerId,proto3" json:"controllerId,omitempty"` // contains filtered or unexported fields }
func (*SetControllerRequest) Descriptor
deprecated
func (*SetControllerRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetControllerRequest.ProtoReflect.Descriptor instead.
func (*SetControllerRequest) GetControllerId ¶
func (x *SetControllerRequest) GetControllerId() int32
func (*SetControllerRequest) GetPlayerId ¶
func (x *SetControllerRequest) GetPlayerId() int64
func (*SetControllerRequest) GetRoomId ¶
func (x *SetControllerRequest) GetRoomId() int64
func (*SetControllerRequest) ProtoMessage ¶
func (*SetControllerRequest) ProtoMessage()
func (*SetControllerRequest) ProtoReflect ¶
func (x *SetControllerRequest) ProtoReflect() protoreflect.Message
func (*SetControllerRequest) Reset ¶
func (x *SetControllerRequest) Reset()
func (*SetControllerRequest) String ¶
func (x *SetControllerRequest) String() string
type SetControllerResponse ¶
type SetControllerResponse struct {
// contains filtered or unexported fields
}
func (*SetControllerResponse) Descriptor
deprecated
func (*SetControllerResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetControllerResponse.ProtoReflect.Descriptor instead.
func (*SetControllerResponse) ProtoMessage ¶
func (*SetControllerResponse) ProtoMessage()
func (*SetControllerResponse) ProtoReflect ¶
func (x *SetControllerResponse) ProtoReflect() protoreflect.Message
func (*SetControllerResponse) Reset ¶
func (x *SetControllerResponse) Reset()
func (*SetControllerResponse) String ¶
func (x *SetControllerResponse) String() string
type SetEmulatorSpeedRequest ¶
type SetEmulatorSpeedRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Rate float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*SetEmulatorSpeedRequest) Descriptor
deprecated
func (*SetEmulatorSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetEmulatorSpeedRequest.ProtoReflect.Descriptor instead.
func (*SetEmulatorSpeedRequest) GetRate ¶
func (x *SetEmulatorSpeedRequest) GetRate() float64
func (*SetEmulatorSpeedRequest) GetRoomId ¶
func (x *SetEmulatorSpeedRequest) GetRoomId() int64
func (*SetEmulatorSpeedRequest) ProtoMessage ¶
func (*SetEmulatorSpeedRequest) ProtoMessage()
func (*SetEmulatorSpeedRequest) ProtoReflect ¶
func (x *SetEmulatorSpeedRequest) ProtoReflect() protoreflect.Message
func (*SetEmulatorSpeedRequest) Reset ¶
func (x *SetEmulatorSpeedRequest) Reset()
func (*SetEmulatorSpeedRequest) String ¶
func (x *SetEmulatorSpeedRequest) String() string
type SetEmulatorSpeedResponse ¶
type SetEmulatorSpeedResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Rate float64 `protobuf:"fixed64,2,opt,name=rate,proto3" json:"rate,omitempty"` // contains filtered or unexported fields }
func (*SetEmulatorSpeedResponse) Descriptor
deprecated
func (*SetEmulatorSpeedResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetEmulatorSpeedResponse.ProtoReflect.Descriptor instead.
func (*SetEmulatorSpeedResponse) GetRate ¶
func (x *SetEmulatorSpeedResponse) GetRate() float64
func (*SetEmulatorSpeedResponse) GetRoomId ¶
func (x *SetEmulatorSpeedResponse) GetRoomId() int64
func (*SetEmulatorSpeedResponse) ProtoMessage ¶
func (*SetEmulatorSpeedResponse) ProtoMessage()
func (*SetEmulatorSpeedResponse) ProtoReflect ¶
func (x *SetEmulatorSpeedResponse) ProtoReflect() protoreflect.Message
func (*SetEmulatorSpeedResponse) Reset ¶
func (x *SetEmulatorSpeedResponse) Reset()
func (*SetEmulatorSpeedResponse) String ¶
func (x *SetEmulatorSpeedResponse) String() string
type SetGraphicOptionsRequest ¶
type SetGraphicOptionsRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` HighResOpen bool `protobuf:"varint,2,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"` ReverseColor bool `protobuf:"varint,3,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"` Grayscale bool `protobuf:"varint,4,opt,name=grayscale,proto3" json:"grayscale,omitempty"` // contains filtered or unexported fields }
func (*SetGraphicOptionsRequest) Descriptor
deprecated
func (*SetGraphicOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetGraphicOptionsRequest.ProtoReflect.Descriptor instead.
func (*SetGraphicOptionsRequest) GetGrayscale ¶
func (x *SetGraphicOptionsRequest) GetGrayscale() bool
func (*SetGraphicOptionsRequest) GetHighResOpen ¶
func (x *SetGraphicOptionsRequest) GetHighResOpen() bool
func (*SetGraphicOptionsRequest) GetReverseColor ¶
func (x *SetGraphicOptionsRequest) GetReverseColor() bool
func (*SetGraphicOptionsRequest) GetRoomId ¶
func (x *SetGraphicOptionsRequest) GetRoomId() int64
func (*SetGraphicOptionsRequest) ProtoMessage ¶
func (*SetGraphicOptionsRequest) ProtoMessage()
func (*SetGraphicOptionsRequest) ProtoReflect ¶
func (x *SetGraphicOptionsRequest) ProtoReflect() protoreflect.Message
func (*SetGraphicOptionsRequest) Reset ¶
func (x *SetGraphicOptionsRequest) Reset()
func (*SetGraphicOptionsRequest) String ¶
func (x *SetGraphicOptionsRequest) String() string
type SetGraphicOptionsResponse ¶
type SetGraphicOptionsResponse struct { HighResOpen bool `protobuf:"varint,1,opt,name=highResOpen,proto3" json:"highResOpen,omitempty"` ReverseColor bool `protobuf:"varint,2,opt,name=reverseColor,proto3" json:"reverseColor,omitempty"` Grayscale bool `protobuf:"varint,3,opt,name=grayscale,proto3" json:"grayscale,omitempty"` // contains filtered or unexported fields }
func (*SetGraphicOptionsResponse) Descriptor
deprecated
func (*SetGraphicOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetGraphicOptionsResponse.ProtoReflect.Descriptor instead.
func (*SetGraphicOptionsResponse) GetGrayscale ¶
func (x *SetGraphicOptionsResponse) GetGrayscale() bool
func (*SetGraphicOptionsResponse) GetHighResOpen ¶
func (x *SetGraphicOptionsResponse) GetHighResOpen() bool
func (*SetGraphicOptionsResponse) GetReverseColor ¶
func (x *SetGraphicOptionsResponse) GetReverseColor() bool
func (*SetGraphicOptionsResponse) ProtoMessage ¶
func (*SetGraphicOptionsResponse) ProtoMessage()
func (*SetGraphicOptionsResponse) ProtoReflect ¶
func (x *SetGraphicOptionsResponse) ProtoReflect() protoreflect.Message
func (*SetGraphicOptionsResponse) Reset ¶
func (x *SetGraphicOptionsResponse) Reset()
func (*SetGraphicOptionsResponse) String ¶
func (x *SetGraphicOptionsResponse) String() string
type UnimplementedWebApiServer ¶
type UnimplementedWebApiServer struct{}
UnimplementedWebApiServer 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 (UnimplementedWebApiServer) AddICECandidate ¶
func (UnimplementedWebApiServer) AddICECandidate(context.Context, *AddICECandidateRequest) (*AddICECandidateResponse, error)
func (UnimplementedWebApiServer) CreateMacro ¶
func (UnimplementedWebApiServer) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error)
func (UnimplementedWebApiServer) CreateRoom ¶
func (UnimplementedWebApiServer) CreateRoom(context.Context, *CreateRoomRequest) (*CreateRoomResponse, error)
func (UnimplementedWebApiServer) CreateUserKeyboardBinding ¶
func (UnimplementedWebApiServer) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error)
func (UnimplementedWebApiServer) DeleteMacro ¶
func (UnimplementedWebApiServer) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error)
func (UnimplementedWebApiServer) DeleteMember ¶
func (UnimplementedWebApiServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
func (UnimplementedWebApiServer) DeleteRoom ¶
func (UnimplementedWebApiServer) DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error)
func (UnimplementedWebApiServer) DeleteSave ¶
func (UnimplementedWebApiServer) DeleteSave(context.Context, *DeleteSaveRequest) (*DeleteSaveResponse, error)
func (UnimplementedWebApiServer) DeleteUserKeyboardBinding ¶
func (UnimplementedWebApiServer) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error)
func (UnimplementedWebApiServer) GetEmulatorSpeed ¶
func (UnimplementedWebApiServer) GetEmulatorSpeed(context.Context, *GetEmulatorSpeedRequest) (*GetEmulatorSpeedResponse, error)
func (UnimplementedWebApiServer) GetGraphicOptions ¶
func (UnimplementedWebApiServer) GetGraphicOptions(context.Context, *GetGraphicOptionsRequest) (*GetGraphicOptionsResponse, error)
func (UnimplementedWebApiServer) GetMacro ¶
func (UnimplementedWebApiServer) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error)
func (UnimplementedWebApiServer) GetRoom ¶
func (UnimplementedWebApiServer) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error)
func (UnimplementedWebApiServer) GetRoomMember ¶
func (UnimplementedWebApiServer) GetRoomMember(context.Context, *GetRoomMemberRequest) (*GetRoomMemberResponse, error)
func (UnimplementedWebApiServer) GetServerICECandidate ¶
func (UnimplementedWebApiServer) GetServerICECandidate(context.Context, *GetServerICECandidateRequest) (*GetServerICECandidateResponse, error)
func (UnimplementedWebApiServer) GetUser ¶
func (UnimplementedWebApiServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedWebApiServer) GetUserKeyboardBinding ¶
func (UnimplementedWebApiServer) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error)
func (UnimplementedWebApiServer) JoinRoom ¶
func (UnimplementedWebApiServer) JoinRoom(context.Context, *JoinRoomRequest) (*JoinRoomResponse, error)
func (UnimplementedWebApiServer) ListAllRooms ¶
func (UnimplementedWebApiServer) ListAllRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error)
func (UnimplementedWebApiServer) ListGames ¶
func (UnimplementedWebApiServer) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error)
func (UnimplementedWebApiServer) ListMacro ¶
func (UnimplementedWebApiServer) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error)
func (UnimplementedWebApiServer) ListMembers ¶
func (UnimplementedWebApiServer) ListMembers(context.Context, *ListMemberRequest) (*ListMemberResponse, error)
func (UnimplementedWebApiServer) ListMyRooms ¶
func (UnimplementedWebApiServer) ListMyRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error)
func (UnimplementedWebApiServer) ListSaves ¶
func (UnimplementedWebApiServer) ListSaves(context.Context, *ListSavesRequest) (*ListSavesResponse, error)
func (UnimplementedWebApiServer) ListSupportedEmulators ¶
func (UnimplementedWebApiServer) ListSupportedEmulators(context.Context, *ListSupportedEmulatorsRequest) (*ListSupportedEmulatorsResponse, error)
func (UnimplementedWebApiServer) ListUserKeyboardBinding ¶
func (UnimplementedWebApiServer) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error)
func (UnimplementedWebApiServer) LoadSave ¶
func (UnimplementedWebApiServer) LoadSave(context.Context, *LoadSaveRequest) (*LoadSaveResponse, error)
func (UnimplementedWebApiServer) Login ¶
func (UnimplementedWebApiServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedWebApiServer) OpenGameConnection ¶
func (UnimplementedWebApiServer) OpenGameConnection(context.Context, *OpenGameConnectionRequest) (*OpenGameConnectionResponse, error)
func (UnimplementedWebApiServer) Register ¶
func (UnimplementedWebApiServer) Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
func (UnimplementedWebApiServer) RestartEmulator ¶
func (UnimplementedWebApiServer) RestartEmulator(context.Context, *RestartEmulatorRequest) (*RestartEmulatorResponse, error)
func (UnimplementedWebApiServer) SDPAnswer ¶
func (UnimplementedWebApiServer) SDPAnswer(context.Context, *SDPAnswerRequest) (*SDPAnswerResponse, error)
func (UnimplementedWebApiServer) SaveGame ¶
func (UnimplementedWebApiServer) SaveGame(context.Context, *SaveGameRequest) (*SaveGameResponse, error)
func (UnimplementedWebApiServer) SetController ¶
func (UnimplementedWebApiServer) SetController(context.Context, *SetControllerRequest) (*SetControllerResponse, error)
func (UnimplementedWebApiServer) SetEmulatorSpeed ¶
func (UnimplementedWebApiServer) SetEmulatorSpeed(context.Context, *SetEmulatorSpeedRequest) (*SetEmulatorSpeedResponse, error)
func (UnimplementedWebApiServer) SetGraphicOptions ¶
func (UnimplementedWebApiServer) SetGraphicOptions(context.Context, *SetGraphicOptionsRequest) (*SetGraphicOptionsResponse, error)
func (UnimplementedWebApiServer) UpdateMemberRole ¶
func (UnimplementedWebApiServer) UpdateMemberRole(context.Context, *UpdateMemberRoleRequest) (*UpdateMemberRoleResponse, error)
func (UnimplementedWebApiServer) UpdateRoom ¶
func (UnimplementedWebApiServer) UpdateRoom(context.Context, *UpdateRoomRequest) (*UpdateRoomResponse, error)
func (UnimplementedWebApiServer) UpdateUserKeyboardBinding ¶
func (UnimplementedWebApiServer) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error)
type UnsafeWebApiServer ¶
type UnsafeWebApiServer interface {
// contains filtered or unexported methods
}
UnsafeWebApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WebApiServer will result in compilation errors.
type UpdateMemberRoleRequest ¶
type UpdateMemberRoleRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=userId,proto3" json:"userId,omitempty"` Role v1.RoomRole `protobuf:"varint,3,opt,name=role,proto3,enum=room.v1.RoomRole" json:"role,omitempty"` // contains filtered or unexported fields }
func (*UpdateMemberRoleRequest) Descriptor
deprecated
func (*UpdateMemberRoleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemberRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateMemberRoleRequest) GetRole ¶
func (x *UpdateMemberRoleRequest) GetRole() v1.RoomRole
func (*UpdateMemberRoleRequest) GetRoomId ¶
func (x *UpdateMemberRoleRequest) GetRoomId() int64
func (*UpdateMemberRoleRequest) GetUserId ¶
func (x *UpdateMemberRoleRequest) GetUserId() int64
func (*UpdateMemberRoleRequest) ProtoMessage ¶
func (*UpdateMemberRoleRequest) ProtoMessage()
func (*UpdateMemberRoleRequest) ProtoReflect ¶
func (x *UpdateMemberRoleRequest) ProtoReflect() protoreflect.Message
func (*UpdateMemberRoleRequest) Reset ¶
func (x *UpdateMemberRoleRequest) Reset()
func (*UpdateMemberRoleRequest) String ¶
func (x *UpdateMemberRoleRequest) String() string
type UpdateMemberRoleResponse ¶
type UpdateMemberRoleResponse struct {
// contains filtered or unexported fields
}
func (*UpdateMemberRoleResponse) Descriptor
deprecated
func (*UpdateMemberRoleResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateMemberRoleResponse.ProtoReflect.Descriptor instead.
func (*UpdateMemberRoleResponse) ProtoMessage ¶
func (*UpdateMemberRoleResponse) ProtoMessage()
func (*UpdateMemberRoleResponse) ProtoReflect ¶
func (x *UpdateMemberRoleResponse) ProtoReflect() protoreflect.Message
func (*UpdateMemberRoleResponse) Reset ¶
func (x *UpdateMemberRoleResponse) Reset()
func (*UpdateMemberRoleResponse) String ¶
func (x *UpdateMemberRoleResponse) String() string
type UpdateRoomRequest ¶
type UpdateRoomRequest struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoomRequest) Descriptor
deprecated
func (*UpdateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomRequest.ProtoReflect.Descriptor instead.
func (*UpdateRoomRequest) GetName ¶
func (x *UpdateRoomRequest) GetName() string
func (*UpdateRoomRequest) GetPrivate ¶
func (x *UpdateRoomRequest) GetPrivate() bool
func (*UpdateRoomRequest) GetRoomId ¶
func (x *UpdateRoomRequest) GetRoomId() int64
func (*UpdateRoomRequest) ProtoMessage ¶
func (*UpdateRoomRequest) ProtoMessage()
func (*UpdateRoomRequest) ProtoReflect ¶
func (x *UpdateRoomRequest) ProtoReflect() protoreflect.Message
func (*UpdateRoomRequest) Reset ¶
func (x *UpdateRoomRequest) Reset()
func (*UpdateRoomRequest) String ¶
func (x *UpdateRoomRequest) String() string
type UpdateRoomResponse ¶
type UpdateRoomResponse struct { RoomId int64 `protobuf:"varint,1,opt,name=roomId,proto3" json:"roomId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*UpdateRoomResponse) Descriptor
deprecated
func (*UpdateRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRoomResponse.ProtoReflect.Descriptor instead.
func (*UpdateRoomResponse) GetName ¶
func (x *UpdateRoomResponse) GetName() string
func (*UpdateRoomResponse) GetPassword ¶
func (x *UpdateRoomResponse) GetPassword() string
func (*UpdateRoomResponse) GetPrivate ¶
func (x *UpdateRoomResponse) GetPrivate() bool
func (*UpdateRoomResponse) GetRoomId ¶
func (x *UpdateRoomResponse) GetRoomId() int64
func (*UpdateRoomResponse) ProtoMessage ¶
func (*UpdateRoomResponse) ProtoMessage()
func (*UpdateRoomResponse) ProtoReflect ¶
func (x *UpdateRoomResponse) ProtoReflect() protoreflect.Message
func (*UpdateRoomResponse) Reset ¶
func (x *UpdateRoomResponse) Reset()
func (*UpdateRoomResponse) String ¶
func (x *UpdateRoomResponse) String() string
type UpdateUserKeyboardBindingRequest ¶
type UpdateUserKeyboardBindingRequest 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"` Bindings []*KeyboardBinding `protobuf:"bytes,3,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) 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 User ¶
type User 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 (*User) Descriptor
deprecated
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
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 WebApiClient ¶
type WebApiClient interface { Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error) Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) ListMyRooms(ctx context.Context, in *ListRoomRequest, opts ...grpc.CallOption) (*ListRoomResponse, error) ListAllRooms(ctx context.Context, in *ListRoomRequest, opts ...grpc.CallOption) (*ListRoomResponse, error) CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...grpc.CallOption) (*CreateRoomResponse, error) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...grpc.CallOption) (*GetRoomResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) OpenGameConnection(ctx context.Context, in *OpenGameConnectionRequest, opts ...grpc.CallOption) (*OpenGameConnectionResponse, error) SDPAnswer(ctx context.Context, in *SDPAnswerRequest, opts ...grpc.CallOption) (*SDPAnswerResponse, error) AddICECandidate(ctx context.Context, in *AddICECandidateRequest, opts ...grpc.CallOption) (*AddICECandidateResponse, error) ListMembers(ctx context.Context, in *ListMemberRequest, opts ...grpc.CallOption) (*ListMemberResponse, error) JoinRoom(ctx context.Context, in *JoinRoomRequest, opts ...grpc.CallOption) (*JoinRoomResponse, error) DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...grpc.CallOption) (*DeleteRoomResponse, error) UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...grpc.CallOption) (*UpdateRoomResponse, error) GetRoomMember(ctx context.Context, in *GetRoomMemberRequest, opts ...grpc.CallOption) (*GetRoomMemberResponse, error) ListGames(ctx context.Context, in *ListGamesRequest, opts ...grpc.CallOption) (*ListGamesResponse, error) SetController(ctx context.Context, in *SetControllerRequest, opts ...grpc.CallOption) (*SetControllerResponse, error) UpdateMemberRole(ctx context.Context, in *UpdateMemberRoleRequest, opts ...grpc.CallOption) (*UpdateMemberRoleResponse, error) DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...grpc.CallOption) (*DeleteMemberResponse, error) SaveGame(ctx context.Context, in *SaveGameRequest, opts ...grpc.CallOption) (*SaveGameResponse, error) LoadSave(ctx context.Context, in *LoadSaveRequest, opts ...grpc.CallOption) (*LoadSaveResponse, error) ListSaves(ctx context.Context, in *ListSavesRequest, opts ...grpc.CallOption) (*ListSavesResponse, error) RestartEmulator(ctx context.Context, in *RestartEmulatorRequest, opts ...grpc.CallOption) (*RestartEmulatorResponse, error) DeleteSave(ctx context.Context, in *DeleteSaveRequest, opts ...grpc.CallOption) (*DeleteSaveResponse, 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) GetServerICECandidate(ctx context.Context, in *GetServerICECandidateRequest, opts ...grpc.CallOption) (*GetServerICECandidateResponse, error) SetGraphicOptions(ctx context.Context, in *SetGraphicOptionsRequest, opts ...grpc.CallOption) (*SetGraphicOptionsResponse, error) GetGraphicOptions(ctx context.Context, in *GetGraphicOptionsRequest, opts ...grpc.CallOption) (*GetGraphicOptionsResponse, 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) SetEmulatorSpeed(ctx context.Context, in *SetEmulatorSpeedRequest, opts ...grpc.CallOption) (*SetEmulatorSpeedResponse, error) GetEmulatorSpeed(ctx context.Context, in *GetEmulatorSpeedRequest, opts ...grpc.CallOption) (*GetEmulatorSpeedResponse, error) ListSupportedEmulators(ctx context.Context, in *ListSupportedEmulatorsRequest, opts ...grpc.CallOption) (*ListSupportedEmulatorsResponse, error) }
WebApiClient is the client API for WebApi 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 NewWebApiClient ¶
func NewWebApiClient(cc grpc.ClientConnInterface) WebApiClient
type WebApiHTTPClient ¶
type WebApiHTTPClient interface { AddICECandidate(ctx context.Context, req *AddICECandidateRequest, opts ...http.CallOption) (rsp *AddICECandidateResponse, err error) CreateMacro(ctx context.Context, req *CreateMacroRequest, opts ...http.CallOption) (rsp *CreateMacroResponse, err error) CreateRoom(ctx context.Context, req *CreateRoomRequest, opts ...http.CallOption) (rsp *CreateRoomResponse, err error) CreateUserKeyboardBinding(ctx context.Context, req *CreateUserKeyboardBindingRequest, opts ...http.CallOption) (rsp *CreateUserKeyboardBindingResponse, err error) DeleteMacro(ctx context.Context, req *DeleteMacroRequest, opts ...http.CallOption) (rsp *DeleteMacroResponse, err error) DeleteMember(ctx context.Context, req *DeleteMemberRequest, opts ...http.CallOption) (rsp *DeleteMemberResponse, err error) DeleteRoom(ctx context.Context, req *DeleteRoomRequest, opts ...http.CallOption) (rsp *DeleteRoomResponse, err error) DeleteSave(ctx context.Context, req *DeleteSaveRequest, opts ...http.CallOption) (rsp *DeleteSaveResponse, err error) DeleteUserKeyboardBinding(ctx context.Context, req *DeleteUserKeyboardBindingRequest, opts ...http.CallOption) (rsp *DeleteUserKeyboardBindingResponse, err error) GetEmulatorSpeed(ctx context.Context, req *GetEmulatorSpeedRequest, opts ...http.CallOption) (rsp *GetEmulatorSpeedResponse, err error) GetGraphicOptions(ctx context.Context, req *GetGraphicOptionsRequest, opts ...http.CallOption) (rsp *GetGraphicOptionsResponse, err error) GetMacro(ctx context.Context, req *GetMacroRequest, opts ...http.CallOption) (rsp *GetMacroResponse, err error) GetRoom(ctx context.Context, req *GetRoomRequest, opts ...http.CallOption) (rsp *GetRoomResponse, err error) GetRoomMember(ctx context.Context, req *GetRoomMemberRequest, opts ...http.CallOption) (rsp *GetRoomMemberResponse, err error) GetServerICECandidate(ctx context.Context, req *GetServerICECandidateRequest, opts ...http.CallOption) (rsp *GetServerICECandidateResponse, err error) GetUser(ctx context.Context, req *GetUserRequest, opts ...http.CallOption) (rsp *GetUserResponse, err error) GetUserKeyboardBinding(ctx context.Context, req *GetUserKeyboardBindingRequest, opts ...http.CallOption) (rsp *GetUserKeyboardBindingResponse, err error) JoinRoom(ctx context.Context, req *JoinRoomRequest, opts ...http.CallOption) (rsp *JoinRoomResponse, err error) ListAllRooms(ctx context.Context, req *ListRoomRequest, opts ...http.CallOption) (rsp *ListRoomResponse, err error) ListGames(ctx context.Context, req *ListGamesRequest, opts ...http.CallOption) (rsp *ListGamesResponse, err error) ListMacro(ctx context.Context, req *ListMacroRequest, opts ...http.CallOption) (rsp *ListMacroResponse, err error) ListMembers(ctx context.Context, req *ListMemberRequest, opts ...http.CallOption) (rsp *ListMemberResponse, err error) ListMyRooms(ctx context.Context, req *ListRoomRequest, opts ...http.CallOption) (rsp *ListRoomResponse, err error) ListSaves(ctx context.Context, req *ListSavesRequest, opts ...http.CallOption) (rsp *ListSavesResponse, err error) ListSupportedEmulators(ctx context.Context, req *ListSupportedEmulatorsRequest, opts ...http.CallOption) (rsp *ListSupportedEmulatorsResponse, err error) ListUserKeyboardBinding(ctx context.Context, req *ListUserKeyboardBindingRequest, opts ...http.CallOption) (rsp *ListUserKeyboardBindingResponse, err error) LoadSave(ctx context.Context, req *LoadSaveRequest, opts ...http.CallOption) (rsp *LoadSaveResponse, err error) Login(ctx context.Context, req *LoginRequest, opts ...http.CallOption) (rsp *LoginResponse, err error) OpenGameConnection(ctx context.Context, req *OpenGameConnectionRequest, opts ...http.CallOption) (rsp *OpenGameConnectionResponse, err error) Register(ctx context.Context, req *RegisterRequest, opts ...http.CallOption) (rsp *RegisterResponse, err error) RestartEmulator(ctx context.Context, req *RestartEmulatorRequest, opts ...http.CallOption) (rsp *RestartEmulatorResponse, err error) SDPAnswer(ctx context.Context, req *SDPAnswerRequest, opts ...http.CallOption) (rsp *SDPAnswerResponse, err error) SaveGame(ctx context.Context, req *SaveGameRequest, opts ...http.CallOption) (rsp *SaveGameResponse, err error) SetController(ctx context.Context, req *SetControllerRequest, opts ...http.CallOption) (rsp *SetControllerResponse, err error) SetEmulatorSpeed(ctx context.Context, req *SetEmulatorSpeedRequest, opts ...http.CallOption) (rsp *SetEmulatorSpeedResponse, err error) SetGraphicOptions(ctx context.Context, req *SetGraphicOptionsRequest, opts ...http.CallOption) (rsp *SetGraphicOptionsResponse, err error) UpdateMemberRole(ctx context.Context, req *UpdateMemberRoleRequest, opts ...http.CallOption) (rsp *UpdateMemberRoleResponse, err error) UpdateRoom(ctx context.Context, req *UpdateRoomRequest, opts ...http.CallOption) (rsp *UpdateRoomResponse, err error) UpdateUserKeyboardBinding(ctx context.Context, req *UpdateUserKeyboardBindingRequest, opts ...http.CallOption) (rsp *UpdateUserKeyboardBindingResponse, err error) }
func NewWebApiHTTPClient ¶
func NewWebApiHTTPClient(client *http.Client) WebApiHTTPClient
type WebApiHTTPClientImpl ¶
type WebApiHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*WebApiHTTPClientImpl) AddICECandidate ¶
func (c *WebApiHTTPClientImpl) AddICECandidate(ctx context.Context, in *AddICECandidateRequest, opts ...http.CallOption) (*AddICECandidateResponse, error)
func (*WebApiHTTPClientImpl) CreateMacro ¶
func (c *WebApiHTTPClientImpl) CreateMacro(ctx context.Context, in *CreateMacroRequest, opts ...http.CallOption) (*CreateMacroResponse, error)
func (*WebApiHTTPClientImpl) CreateRoom ¶
func (c *WebApiHTTPClientImpl) CreateRoom(ctx context.Context, in *CreateRoomRequest, opts ...http.CallOption) (*CreateRoomResponse, error)
func (*WebApiHTTPClientImpl) CreateUserKeyboardBinding ¶
func (c *WebApiHTTPClientImpl) CreateUserKeyboardBinding(ctx context.Context, in *CreateUserKeyboardBindingRequest, opts ...http.CallOption) (*CreateUserKeyboardBindingResponse, error)
func (*WebApiHTTPClientImpl) DeleteMacro ¶
func (c *WebApiHTTPClientImpl) DeleteMacro(ctx context.Context, in *DeleteMacroRequest, opts ...http.CallOption) (*DeleteMacroResponse, error)
func (*WebApiHTTPClientImpl) DeleteMember ¶
func (c *WebApiHTTPClientImpl) DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...http.CallOption) (*DeleteMemberResponse, error)
func (*WebApiHTTPClientImpl) DeleteRoom ¶
func (c *WebApiHTTPClientImpl) DeleteRoom(ctx context.Context, in *DeleteRoomRequest, opts ...http.CallOption) (*DeleteRoomResponse, error)
func (*WebApiHTTPClientImpl) DeleteSave ¶
func (c *WebApiHTTPClientImpl) DeleteSave(ctx context.Context, in *DeleteSaveRequest, opts ...http.CallOption) (*DeleteSaveResponse, error)
func (*WebApiHTTPClientImpl) DeleteUserKeyboardBinding ¶
func (c *WebApiHTTPClientImpl) DeleteUserKeyboardBinding(ctx context.Context, in *DeleteUserKeyboardBindingRequest, opts ...http.CallOption) (*DeleteUserKeyboardBindingResponse, error)
func (*WebApiHTTPClientImpl) GetEmulatorSpeed ¶
func (c *WebApiHTTPClientImpl) GetEmulatorSpeed(ctx context.Context, in *GetEmulatorSpeedRequest, opts ...http.CallOption) (*GetEmulatorSpeedResponse, error)
func (*WebApiHTTPClientImpl) GetGraphicOptions ¶
func (c *WebApiHTTPClientImpl) GetGraphicOptions(ctx context.Context, in *GetGraphicOptionsRequest, opts ...http.CallOption) (*GetGraphicOptionsResponse, error)
func (*WebApiHTTPClientImpl) GetMacro ¶
func (c *WebApiHTTPClientImpl) GetMacro(ctx context.Context, in *GetMacroRequest, opts ...http.CallOption) (*GetMacroResponse, error)
func (*WebApiHTTPClientImpl) GetRoom ¶
func (c *WebApiHTTPClientImpl) GetRoom(ctx context.Context, in *GetRoomRequest, opts ...http.CallOption) (*GetRoomResponse, error)
func (*WebApiHTTPClientImpl) GetRoomMember ¶
func (c *WebApiHTTPClientImpl) GetRoomMember(ctx context.Context, in *GetRoomMemberRequest, opts ...http.CallOption) (*GetRoomMemberResponse, error)
func (*WebApiHTTPClientImpl) GetServerICECandidate ¶
func (c *WebApiHTTPClientImpl) GetServerICECandidate(ctx context.Context, in *GetServerICECandidateRequest, opts ...http.CallOption) (*GetServerICECandidateResponse, error)
func (*WebApiHTTPClientImpl) GetUser ¶
func (c *WebApiHTTPClientImpl) GetUser(ctx context.Context, in *GetUserRequest, opts ...http.CallOption) (*GetUserResponse, error)
func (*WebApiHTTPClientImpl) GetUserKeyboardBinding ¶
func (c *WebApiHTTPClientImpl) GetUserKeyboardBinding(ctx context.Context, in *GetUserKeyboardBindingRequest, opts ...http.CallOption) (*GetUserKeyboardBindingResponse, error)
func (*WebApiHTTPClientImpl) JoinRoom ¶
func (c *WebApiHTTPClientImpl) JoinRoom(ctx context.Context, in *JoinRoomRequest, opts ...http.CallOption) (*JoinRoomResponse, error)
func (*WebApiHTTPClientImpl) ListAllRooms ¶
func (c *WebApiHTTPClientImpl) ListAllRooms(ctx context.Context, in *ListRoomRequest, opts ...http.CallOption) (*ListRoomResponse, error)
func (*WebApiHTTPClientImpl) ListGames ¶
func (c *WebApiHTTPClientImpl) ListGames(ctx context.Context, in *ListGamesRequest, opts ...http.CallOption) (*ListGamesResponse, error)
func (*WebApiHTTPClientImpl) ListMacro ¶
func (c *WebApiHTTPClientImpl) ListMacro(ctx context.Context, in *ListMacroRequest, opts ...http.CallOption) (*ListMacroResponse, error)
func (*WebApiHTTPClientImpl) ListMembers ¶
func (c *WebApiHTTPClientImpl) ListMembers(ctx context.Context, in *ListMemberRequest, opts ...http.CallOption) (*ListMemberResponse, error)
func (*WebApiHTTPClientImpl) ListMyRooms ¶
func (c *WebApiHTTPClientImpl) ListMyRooms(ctx context.Context, in *ListRoomRequest, opts ...http.CallOption) (*ListRoomResponse, error)
func (*WebApiHTTPClientImpl) ListSaves ¶
func (c *WebApiHTTPClientImpl) ListSaves(ctx context.Context, in *ListSavesRequest, opts ...http.CallOption) (*ListSavesResponse, error)
func (*WebApiHTTPClientImpl) ListSupportedEmulators ¶
func (c *WebApiHTTPClientImpl) ListSupportedEmulators(ctx context.Context, in *ListSupportedEmulatorsRequest, opts ...http.CallOption) (*ListSupportedEmulatorsResponse, error)
func (*WebApiHTTPClientImpl) ListUserKeyboardBinding ¶
func (c *WebApiHTTPClientImpl) ListUserKeyboardBinding(ctx context.Context, in *ListUserKeyboardBindingRequest, opts ...http.CallOption) (*ListUserKeyboardBindingResponse, error)
func (*WebApiHTTPClientImpl) LoadSave ¶
func (c *WebApiHTTPClientImpl) LoadSave(ctx context.Context, in *LoadSaveRequest, opts ...http.CallOption) (*LoadSaveResponse, error)
func (*WebApiHTTPClientImpl) Login ¶
func (c *WebApiHTTPClientImpl) Login(ctx context.Context, in *LoginRequest, opts ...http.CallOption) (*LoginResponse, error)
func (*WebApiHTTPClientImpl) OpenGameConnection ¶
func (c *WebApiHTTPClientImpl) OpenGameConnection(ctx context.Context, in *OpenGameConnectionRequest, opts ...http.CallOption) (*OpenGameConnectionResponse, error)
func (*WebApiHTTPClientImpl) Register ¶
func (c *WebApiHTTPClientImpl) Register(ctx context.Context, in *RegisterRequest, opts ...http.CallOption) (*RegisterResponse, error)
func (*WebApiHTTPClientImpl) RestartEmulator ¶
func (c *WebApiHTTPClientImpl) RestartEmulator(ctx context.Context, in *RestartEmulatorRequest, opts ...http.CallOption) (*RestartEmulatorResponse, error)
func (*WebApiHTTPClientImpl) SDPAnswer ¶
func (c *WebApiHTTPClientImpl) SDPAnswer(ctx context.Context, in *SDPAnswerRequest, opts ...http.CallOption) (*SDPAnswerResponse, error)
func (*WebApiHTTPClientImpl) SaveGame ¶
func (c *WebApiHTTPClientImpl) SaveGame(ctx context.Context, in *SaveGameRequest, opts ...http.CallOption) (*SaveGameResponse, error)
func (*WebApiHTTPClientImpl) SetController ¶
func (c *WebApiHTTPClientImpl) SetController(ctx context.Context, in *SetControllerRequest, opts ...http.CallOption) (*SetControllerResponse, error)
func (*WebApiHTTPClientImpl) SetEmulatorSpeed ¶
func (c *WebApiHTTPClientImpl) SetEmulatorSpeed(ctx context.Context, in *SetEmulatorSpeedRequest, opts ...http.CallOption) (*SetEmulatorSpeedResponse, error)
func (*WebApiHTTPClientImpl) SetGraphicOptions ¶
func (c *WebApiHTTPClientImpl) SetGraphicOptions(ctx context.Context, in *SetGraphicOptionsRequest, opts ...http.CallOption) (*SetGraphicOptionsResponse, error)
func (*WebApiHTTPClientImpl) UpdateMemberRole ¶
func (c *WebApiHTTPClientImpl) UpdateMemberRole(ctx context.Context, in *UpdateMemberRoleRequest, opts ...http.CallOption) (*UpdateMemberRoleResponse, error)
func (*WebApiHTTPClientImpl) UpdateRoom ¶
func (c *WebApiHTTPClientImpl) UpdateRoom(ctx context.Context, in *UpdateRoomRequest, opts ...http.CallOption) (*UpdateRoomResponse, error)
func (*WebApiHTTPClientImpl) UpdateUserKeyboardBinding ¶
func (c *WebApiHTTPClientImpl) UpdateUserKeyboardBinding(ctx context.Context, in *UpdateUserKeyboardBindingRequest, opts ...http.CallOption) (*UpdateUserKeyboardBindingResponse, error)
type WebApiHTTPServer ¶
type WebApiHTTPServer interface { AddICECandidate(context.Context, *AddICECandidateRequest) (*AddICECandidateResponse, error) CreateMacro(context.Context, *CreateMacroRequest) (*CreateMacroResponse, error) CreateRoom(context.Context, *CreateRoomRequest) (*CreateRoomResponse, error) CreateUserKeyboardBinding(context.Context, *CreateUserKeyboardBindingRequest) (*CreateUserKeyboardBindingResponse, error) DeleteMacro(context.Context, *DeleteMacroRequest) (*DeleteMacroResponse, error) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error) DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error) DeleteSave(context.Context, *DeleteSaveRequest) (*DeleteSaveResponse, error) DeleteUserKeyboardBinding(context.Context, *DeleteUserKeyboardBindingRequest) (*DeleteUserKeyboardBindingResponse, error) GetEmulatorSpeed(context.Context, *GetEmulatorSpeedRequest) (*GetEmulatorSpeedResponse, error) GetGraphicOptions(context.Context, *GetGraphicOptionsRequest) (*GetGraphicOptionsResponse, error) GetMacro(context.Context, *GetMacroRequest) (*GetMacroResponse, error) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error) GetRoomMember(context.Context, *GetRoomMemberRequest) (*GetRoomMemberResponse, error) GetServerICECandidate(context.Context, *GetServerICECandidateRequest) (*GetServerICECandidateResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) GetUserKeyboardBinding(context.Context, *GetUserKeyboardBindingRequest) (*GetUserKeyboardBindingResponse, error) JoinRoom(context.Context, *JoinRoomRequest) (*JoinRoomResponse, error) ListAllRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error) ListMacro(context.Context, *ListMacroRequest) (*ListMacroResponse, error) ListMembers(context.Context, *ListMemberRequest) (*ListMemberResponse, error) ListMyRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error) ListSaves(context.Context, *ListSavesRequest) (*ListSavesResponse, error) ListSupportedEmulators(context.Context, *ListSupportedEmulatorsRequest) (*ListSupportedEmulatorsResponse, error) ListUserKeyboardBinding(context.Context, *ListUserKeyboardBindingRequest) (*ListUserKeyboardBindingResponse, error) LoadSave(context.Context, *LoadSaveRequest) (*LoadSaveResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) OpenGameConnection(context.Context, *OpenGameConnectionRequest) (*OpenGameConnectionResponse, error) Register(context.Context, *RegisterRequest) (*RegisterResponse, error) RestartEmulator(context.Context, *RestartEmulatorRequest) (*RestartEmulatorResponse, error) SDPAnswer(context.Context, *SDPAnswerRequest) (*SDPAnswerResponse, error) SaveGame(context.Context, *SaveGameRequest) (*SaveGameResponse, error) SetController(context.Context, *SetControllerRequest) (*SetControllerResponse, error) SetEmulatorSpeed(context.Context, *SetEmulatorSpeedRequest) (*SetEmulatorSpeedResponse, error) SetGraphicOptions(context.Context, *SetGraphicOptionsRequest) (*SetGraphicOptionsResponse, error) UpdateMemberRole(context.Context, *UpdateMemberRoleRequest) (*UpdateMemberRoleResponse, error) UpdateRoom(context.Context, *UpdateRoomRequest) (*UpdateRoomResponse, error) UpdateUserKeyboardBinding(context.Context, *UpdateUserKeyboardBindingRequest) (*UpdateUserKeyboardBindingResponse, error) }
type WebApiServer ¶
type WebApiServer interface { Register(context.Context, *RegisterRequest) (*RegisterResponse, error) Login(context.Context, *LoginRequest) (*LoginResponse, error) ListMyRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error) ListAllRooms(context.Context, *ListRoomRequest) (*ListRoomResponse, error) CreateRoom(context.Context, *CreateRoomRequest) (*CreateRoomResponse, error) GetRoom(context.Context, *GetRoomRequest) (*GetRoomResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) OpenGameConnection(context.Context, *OpenGameConnectionRequest) (*OpenGameConnectionResponse, error) SDPAnswer(context.Context, *SDPAnswerRequest) (*SDPAnswerResponse, error) AddICECandidate(context.Context, *AddICECandidateRequest) (*AddICECandidateResponse, error) ListMembers(context.Context, *ListMemberRequest) (*ListMemberResponse, error) JoinRoom(context.Context, *JoinRoomRequest) (*JoinRoomResponse, error) DeleteRoom(context.Context, *DeleteRoomRequest) (*DeleteRoomResponse, error) UpdateRoom(context.Context, *UpdateRoomRequest) (*UpdateRoomResponse, error) GetRoomMember(context.Context, *GetRoomMemberRequest) (*GetRoomMemberResponse, error) ListGames(context.Context, *ListGamesRequest) (*ListGamesResponse, error) SetController(context.Context, *SetControllerRequest) (*SetControllerResponse, error) UpdateMemberRole(context.Context, *UpdateMemberRoleRequest) (*UpdateMemberRoleResponse, error) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error) SaveGame(context.Context, *SaveGameRequest) (*SaveGameResponse, error) LoadSave(context.Context, *LoadSaveRequest) (*LoadSaveResponse, error) ListSaves(context.Context, *ListSavesRequest) (*ListSavesResponse, error) RestartEmulator(context.Context, *RestartEmulatorRequest) (*RestartEmulatorResponse, error) DeleteSave(context.Context, *DeleteSaveRequest) (*DeleteSaveResponse, 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) GetServerICECandidate(context.Context, *GetServerICECandidateRequest) (*GetServerICECandidateResponse, error) SetGraphicOptions(context.Context, *SetGraphicOptionsRequest) (*SetGraphicOptionsResponse, error) GetGraphicOptions(context.Context, *GetGraphicOptionsRequest) (*GetGraphicOptionsResponse, 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) SetEmulatorSpeed(context.Context, *SetEmulatorSpeedRequest) (*SetEmulatorSpeedResponse, error) GetEmulatorSpeed(context.Context, *GetEmulatorSpeedRequest) (*GetEmulatorSpeedResponse, error) ListSupportedEmulators(context.Context, *ListSupportedEmulatorsRequest) (*ListSupportedEmulatorsResponse, error) // contains filtered or unexported methods }
WebApiServer is the server API for WebApi service. All implementations must embed UnimplementedWebApiServer for forward compatibility.