Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
messages/hww.proto
It has these top-level messages:
Error Success RandomNumberResponse RandomNumberRequest DeviceInfoRequest DeviceInfoResponse SetDeviceNameRequest SetDeviceLanguageRequest SetPasswordRequest CreateBackupRequest ShowMnemonicRequest Request Response
Index ¶
- type CreateBackupRequest
- type DeviceInfoRequest
- type DeviceInfoResponse
- func (*DeviceInfoResponse) Descriptor() ([]byte, []int)
- func (m *DeviceInfoResponse) GetInitialized() bool
- func (m *DeviceInfoResponse) GetName() string
- func (m *DeviceInfoResponse) GetVersion() string
- func (*DeviceInfoResponse) ProtoMessage()
- func (m *DeviceInfoResponse) Reset()
- func (m *DeviceInfoResponse) String() string
- type Error
- type RandomNumberRequest
- type RandomNumberResponse
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetCreateBackup() *CreateBackupRequest
- func (m *Request) GetDeviceInfo() *DeviceInfoRequest
- func (m *Request) GetDeviceLanguage() *SetDeviceLanguageRequest
- func (m *Request) GetDeviceName() *SetDeviceNameRequest
- func (m *Request) GetRandomNumber() *RandomNumberRequest
- func (m *Request) GetRequest() isRequest_Request
- func (m *Request) GetSetPassword() *SetPasswordRequest
- func (m *Request) GetShowMnemonic() *ShowMnemonicRequest
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Request_CreateBackup
- type Request_DeviceInfo
- type Request_DeviceLanguage
- type Request_DeviceName
- type Request_RandomNumber
- type Request_SetPassword
- type Request_ShowMnemonic
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetDeviceInfo() *DeviceInfoResponse
- func (m *Response) GetError() *Error
- func (m *Response) GetRandomNumber() *RandomNumberResponse
- func (m *Response) GetResponse() isResponse_Response
- func (m *Response) GetSuccess() *Success
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Response_DeviceInfo
- type Response_Error
- type Response_RandomNumber
- type Response_Success
- type SetDeviceLanguageRequest
- type SetDeviceNameRequest
- type SetPasswordRequest
- type ShowMnemonicRequest
- type Success
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateBackupRequest ¶
type CreateBackupRequest struct { // TODO add backup creation args Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp" json:"timestamp,omitempty"` TimezoneOffset int32 `protobuf:"varint,2,opt,name=timezone_offset,json=timezoneOffset" json:"timezone_offset,omitempty"` }
func (*CreateBackupRequest) Descriptor ¶
func (*CreateBackupRequest) Descriptor() ([]byte, []int)
func (*CreateBackupRequest) GetTimestamp ¶
func (m *CreateBackupRequest) GetTimestamp() uint32
func (*CreateBackupRequest) GetTimezoneOffset ¶
func (m *CreateBackupRequest) GetTimezoneOffset() int32
func (*CreateBackupRequest) ProtoMessage ¶
func (*CreateBackupRequest) ProtoMessage()
func (*CreateBackupRequest) Reset ¶
func (m *CreateBackupRequest) Reset()
func (*CreateBackupRequest) String ¶
func (m *CreateBackupRequest) String() string
type DeviceInfoRequest ¶
type DeviceInfoRequest struct { }
func (*DeviceInfoRequest) Descriptor ¶
func (*DeviceInfoRequest) Descriptor() ([]byte, []int)
func (*DeviceInfoRequest) ProtoMessage ¶
func (*DeviceInfoRequest) ProtoMessage()
func (*DeviceInfoRequest) Reset ¶
func (m *DeviceInfoRequest) Reset()
func (*DeviceInfoRequest) String ¶
func (m *DeviceInfoRequest) String() string
type DeviceInfoResponse ¶
type DeviceInfoResponse struct { Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Initialized bool `protobuf:"varint,2,opt,name=initialized" json:"initialized,omitempty"` Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` }
func (*DeviceInfoResponse) Descriptor ¶
func (*DeviceInfoResponse) Descriptor() ([]byte, []int)
func (*DeviceInfoResponse) GetInitialized ¶
func (m *DeviceInfoResponse) GetInitialized() bool
func (*DeviceInfoResponse) GetName ¶
func (m *DeviceInfoResponse) GetName() string
func (*DeviceInfoResponse) GetVersion ¶
func (m *DeviceInfoResponse) GetVersion() string
func (*DeviceInfoResponse) ProtoMessage ¶
func (*DeviceInfoResponse) ProtoMessage()
func (*DeviceInfoResponse) Reset ¶
func (m *DeviceInfoResponse) Reset()
func (*DeviceInfoResponse) String ¶
func (m *DeviceInfoResponse) String() string
type Error ¶
type Error struct { Code int32 `protobuf:"varint,1,opt,name=code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*Error) Descriptor ¶
func (*Error) GetMessage ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
type RandomNumberRequest ¶
type RandomNumberRequest struct { }
func (*RandomNumberRequest) Descriptor ¶
func (*RandomNumberRequest) Descriptor() ([]byte, []int)
func (*RandomNumberRequest) ProtoMessage ¶
func (*RandomNumberRequest) ProtoMessage()
func (*RandomNumberRequest) Reset ¶
func (m *RandomNumberRequest) Reset()
func (*RandomNumberRequest) String ¶
func (m *RandomNumberRequest) String() string
type RandomNumberResponse ¶
type RandomNumberResponse struct {
Number []byte `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"`
}
func (*RandomNumberResponse) Descriptor ¶
func (*RandomNumberResponse) Descriptor() ([]byte, []int)
func (*RandomNumberResponse) GetNumber ¶
func (m *RandomNumberResponse) GetNumber() []byte
func (*RandomNumberResponse) ProtoMessage ¶
func (*RandomNumberResponse) ProtoMessage()
func (*RandomNumberResponse) Reset ¶
func (m *RandomNumberResponse) Reset()
func (*RandomNumberResponse) String ¶
func (m *RandomNumberResponse) String() string
type Request ¶
type Request struct { // Types that are valid to be assigned to Request: // *Request_RandomNumber // *Request_DeviceName // *Request_DeviceLanguage // *Request_DeviceInfo // *Request_SetPassword // *Request_CreateBackup // *Request_ShowMnemonic Request isRequest_Request `protobuf_oneof:"request"` }
func (*Request) Descriptor ¶
func (*Request) GetCreateBackup ¶
func (m *Request) GetCreateBackup() *CreateBackupRequest
func (*Request) GetDeviceInfo ¶
func (m *Request) GetDeviceInfo() *DeviceInfoRequest
func (*Request) GetDeviceLanguage ¶
func (m *Request) GetDeviceLanguage() *SetDeviceLanguageRequest
func (*Request) GetDeviceName ¶
func (m *Request) GetDeviceName() *SetDeviceNameRequest
func (*Request) GetRandomNumber ¶
func (m *Request) GetRandomNumber() *RandomNumberRequest
func (*Request) GetRequest ¶
func (m *Request) GetRequest() isRequest_Request
func (*Request) GetSetPassword ¶
func (m *Request) GetSetPassword() *SetPasswordRequest
func (*Request) GetShowMnemonic ¶
func (m *Request) GetShowMnemonic() *ShowMnemonicRequest
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
type Request_CreateBackup ¶
type Request_CreateBackup struct {
CreateBackup *CreateBackupRequest `protobuf:"bytes,6,opt,name=create_backup,json=createBackup,oneof"`
}
type Request_DeviceInfo ¶
type Request_DeviceInfo struct {
DeviceInfo *DeviceInfoRequest `protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,oneof"`
}
type Request_DeviceLanguage ¶
type Request_DeviceLanguage struct {
DeviceLanguage *SetDeviceLanguageRequest `protobuf:"bytes,3,opt,name=device_language,json=deviceLanguage,oneof"`
}
type Request_DeviceName ¶
type Request_DeviceName struct {
DeviceName *SetDeviceNameRequest `protobuf:"bytes,2,opt,name=device_name,json=deviceName,oneof"`
}
type Request_RandomNumber ¶
type Request_RandomNumber struct {
RandomNumber *RandomNumberRequest `protobuf:"bytes,1,opt,name=random_number,json=randomNumber,oneof"`
}
type Request_SetPassword ¶
type Request_SetPassword struct {
SetPassword *SetPasswordRequest `protobuf:"bytes,5,opt,name=set_password,json=setPassword,oneof"`
}
type Request_ShowMnemonic ¶
type Request_ShowMnemonic struct {
ShowMnemonic *ShowMnemonicRequest `protobuf:"bytes,7,opt,name=show_mnemonic,json=showMnemonic,oneof"`
}
type Response ¶
type Response struct { // Types that are valid to be assigned to Response: // *Response_Success // *Response_Error // *Response_RandomNumber // *Response_DeviceInfo Response isResponse_Response `protobuf_oneof:"response"` }
func (*Response) Descriptor ¶
func (*Response) GetDeviceInfo ¶
func (m *Response) GetDeviceInfo() *DeviceInfoResponse
func (*Response) GetRandomNumber ¶
func (m *Response) GetRandomNumber() *RandomNumberResponse
func (*Response) GetResponse ¶
func (m *Response) GetResponse() isResponse_Response
func (*Response) GetSuccess ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
type Response_DeviceInfo ¶
type Response_DeviceInfo struct {
DeviceInfo *DeviceInfoResponse `protobuf:"bytes,4,opt,name=device_info,json=deviceInfo,oneof"`
}
type Response_Error ¶
type Response_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,oneof"`
}
type Response_RandomNumber ¶
type Response_RandomNumber struct {
RandomNumber *RandomNumberResponse `protobuf:"bytes,3,opt,name=random_number,json=randomNumber,oneof"`
}
type Response_Success ¶
type Response_Success struct {
Success *Success `protobuf:"bytes,1,opt,name=success,oneof"`
}
type SetDeviceLanguageRequest ¶
type SetDeviceLanguageRequest struct {
Language string `protobuf:"bytes,1,opt,name=language" json:"language,omitempty"`
}
func (*SetDeviceLanguageRequest) Descriptor ¶
func (*SetDeviceLanguageRequest) Descriptor() ([]byte, []int)
func (*SetDeviceLanguageRequest) GetLanguage ¶
func (m *SetDeviceLanguageRequest) GetLanguage() string
func (*SetDeviceLanguageRequest) ProtoMessage ¶
func (*SetDeviceLanguageRequest) ProtoMessage()
func (*SetDeviceLanguageRequest) Reset ¶
func (m *SetDeviceLanguageRequest) Reset()
func (*SetDeviceLanguageRequest) String ¶
func (m *SetDeviceLanguageRequest) String() string
type SetDeviceNameRequest ¶
type SetDeviceNameRequest struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*SetDeviceNameRequest) Descriptor ¶
func (*SetDeviceNameRequest) Descriptor() ([]byte, []int)
func (*SetDeviceNameRequest) GetName ¶
func (m *SetDeviceNameRequest) GetName() string
func (*SetDeviceNameRequest) ProtoMessage ¶
func (*SetDeviceNameRequest) ProtoMessage()
func (*SetDeviceNameRequest) Reset ¶
func (m *SetDeviceNameRequest) Reset()
func (*SetDeviceNameRequest) String ¶
func (m *SetDeviceNameRequest) String() string
type SetPasswordRequest ¶
type SetPasswordRequest struct { }
func (*SetPasswordRequest) Descriptor ¶
func (*SetPasswordRequest) Descriptor() ([]byte, []int)
func (*SetPasswordRequest) ProtoMessage ¶
func (*SetPasswordRequest) ProtoMessage()
func (*SetPasswordRequest) Reset ¶
func (m *SetPasswordRequest) Reset()
func (*SetPasswordRequest) String ¶
func (m *SetPasswordRequest) String() string
type ShowMnemonicRequest ¶
type ShowMnemonicRequest struct { }
func (*ShowMnemonicRequest) Descriptor ¶
func (*ShowMnemonicRequest) Descriptor() ([]byte, []int)
func (*ShowMnemonicRequest) ProtoMessage ¶
func (*ShowMnemonicRequest) ProtoMessage()
func (*ShowMnemonicRequest) Reset ¶
func (m *ShowMnemonicRequest) Reset()
func (*ShowMnemonicRequest) String ¶
func (m *ShowMnemonicRequest) String() string
Click to show internal directories.
Click to hide internal directories.