Documentation ¶
Index ¶
- type Authenticate
- func (*Authenticate) Descriptor() ([]byte, []int)
- func (m *Authenticate) GetBuildVersion() string
- func (m *Authenticate) GetChallenge() []byte
- func (m *Authenticate) GetDeviceName() string
- func (m *Authenticate) GetImei() string
- func (m *Authenticate) GetMeid() string
- func (m *Authenticate) GetModel() string
- func (m *Authenticate) GetModelName() string
- func (m *Authenticate) GetOsVersion() string
- func (m *Authenticate) GetProductName() string
- func (m *Authenticate) GetSerialNumber() string
- func (*Authenticate) ProtoMessage()
- func (m *Authenticate) Reset()
- func (m *Authenticate) String() string
- func (m *Authenticate) XXX_DiscardUnknown()
- func (m *Authenticate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Authenticate) XXX_Merge(src proto.Message)
- func (m *Authenticate) XXX_Size() int
- func (m *Authenticate) XXX_Unmarshal(b []byte) error
- type Command
- func (*Command) Descriptor() ([]byte, []int)
- func (m *Command) GetAuthenticate() *Authenticate
- func (m *Command) GetMessageType() string
- func (m *Command) GetTokenUpdate() *TokenUpdate
- func (m *Command) GetTopic() string
- func (m *Command) GetUdid() string
- func (*Command) ProtoMessage()
- func (m *Command) Reset()
- func (m *Command) String() string
- func (m *Command) XXX_DiscardUnknown()
- func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Command) XXX_Merge(src proto.Message)
- func (m *Command) XXX_Size() int
- func (m *Command) XXX_Unmarshal(b []byte) error
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCommand() *Command
- func (m *Event) GetId() string
- func (m *Event) GetParams() map[string]string
- func (m *Event) GetRaw() []byte
- func (m *Event) GetTime() int64
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type TokenUpdate
- func (*TokenUpdate) Descriptor() ([]byte, []int)
- func (m *TokenUpdate) GetAwaitingConfiguration() bool
- func (m *TokenUpdate) GetNotOnConsole() bool
- func (m *TokenUpdate) GetPushMagic() string
- func (m *TokenUpdate) GetToken() []byte
- func (m *TokenUpdate) GetUnlockToken() []byte
- func (m *TokenUpdate) GetUserId() string
- func (m *TokenUpdate) GetUserLongName() string
- func (m *TokenUpdate) GetUserShortName() string
- func (*TokenUpdate) ProtoMessage()
- func (m *TokenUpdate) Reset()
- func (m *TokenUpdate) String() string
- func (m *TokenUpdate) XXX_DiscardUnknown()
- func (m *TokenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TokenUpdate) XXX_Merge(src proto.Message)
- func (m *TokenUpdate) XXX_Size() int
- func (m *TokenUpdate) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticate ¶
type Authenticate struct { OsVersion string `protobuf:"bytes,1,opt,name=os_version,json=osVersion" json:"os_version,omitempty"` BuildVersion string `protobuf:"bytes,2,opt,name=build_version,json=buildVersion" json:"build_version,omitempty"` ProductName string `protobuf:"bytes,3,opt,name=product_name,json=productName" json:"product_name,omitempty"` SerialNumber string `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber" json:"serial_number,omitempty"` Imei string `protobuf:"bytes,5,opt,name=imei" json:"imei,omitempty"` Meid string `protobuf:"bytes,6,opt,name=meid" json:"meid,omitempty"` DeviceName string `protobuf:"bytes,7,opt,name=device_name,json=deviceName" json:"device_name,omitempty"` Challenge []byte `protobuf:"bytes,8,opt,name=challenge,proto3" json:"challenge,omitempty"` Model string `protobuf:"bytes,9,opt,name=model" json:"model,omitempty"` ModelName string `protobuf:"bytes,10,opt,name=model_name,json=modelName" json:"model_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Authenticate) Descriptor ¶
func (*Authenticate) Descriptor() ([]byte, []int)
func (*Authenticate) GetBuildVersion ¶
func (m *Authenticate) GetBuildVersion() string
func (*Authenticate) GetChallenge ¶
func (m *Authenticate) GetChallenge() []byte
func (*Authenticate) GetDeviceName ¶
func (m *Authenticate) GetDeviceName() string
func (*Authenticate) GetImei ¶
func (m *Authenticate) GetImei() string
func (*Authenticate) GetMeid ¶
func (m *Authenticate) GetMeid() string
func (*Authenticate) GetModel ¶
func (m *Authenticate) GetModel() string
func (*Authenticate) GetModelName ¶
func (m *Authenticate) GetModelName() string
func (*Authenticate) GetOsVersion ¶
func (m *Authenticate) GetOsVersion() string
func (*Authenticate) GetProductName ¶
func (m *Authenticate) GetProductName() string
func (*Authenticate) GetSerialNumber ¶
func (m *Authenticate) GetSerialNumber() string
func (*Authenticate) ProtoMessage ¶
func (*Authenticate) ProtoMessage()
func (*Authenticate) Reset ¶
func (m *Authenticate) Reset()
func (*Authenticate) String ¶
func (m *Authenticate) String() string
func (*Authenticate) XXX_DiscardUnknown ¶
func (m *Authenticate) XXX_DiscardUnknown()
func (*Authenticate) XXX_Marshal ¶
func (m *Authenticate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Authenticate) XXX_Merge ¶
func (dst *Authenticate) XXX_Merge(src proto.Message)
func (*Authenticate) XXX_Size ¶
func (m *Authenticate) XXX_Size() int
func (*Authenticate) XXX_Unmarshal ¶
func (m *Authenticate) XXX_Unmarshal(b []byte) error
type Command ¶
type Command struct { MessageType string `protobuf:"bytes,1,opt,name=message_type,json=messageType" json:"message_type,omitempty"` Topic string `protobuf:"bytes,2,opt,name=topic" json:"topic,omitempty"` Udid string `protobuf:"bytes,3,opt,name=udid" json:"udid,omitempty"` Authenticate *Authenticate `protobuf:"bytes,4,opt,name=authenticate" json:"authenticate,omitempty"` TokenUpdate *TokenUpdate `protobuf:"bytes,5,opt,name=token_update,json=tokenUpdate" json:"token_update,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Command) Descriptor ¶
func (*Command) GetAuthenticate ¶
func (m *Command) GetAuthenticate() *Authenticate
func (*Command) GetMessageType ¶
func (*Command) GetTokenUpdate ¶
func (m *Command) GetTokenUpdate() *TokenUpdate
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) XXX_DiscardUnknown ¶
func (m *Command) XXX_DiscardUnknown()
func (*Command) XXX_Marshal ¶
func (*Command) XXX_Unmarshal ¶
type Event ¶
type Event struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Time int64 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"` Command *Command `protobuf:"bytes,3,opt,name=command" json:"command,omitempty"` Raw []byte `protobuf:"bytes,4,opt,name=raw,proto3" json:"raw,omitempty"` Params map[string]string `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Event) Descriptor ¶
func (*Event) GetCommand ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type TokenUpdate ¶
type TokenUpdate struct { Token []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` PushMagic string `protobuf:"bytes,2,opt,name=push_magic,json=pushMagic" json:"push_magic,omitempty"` UnlockToken []byte `protobuf:"bytes,3,opt,name=unlock_token,json=unlockToken,proto3" json:"unlock_token,omitempty"` AwaitingConfiguration bool `protobuf:"varint,4,opt,name=awaiting_configuration,json=awaitingConfiguration" json:"awaiting_configuration,omitempty"` UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId" json:"user_id,omitempty"` UserLongName string `protobuf:"bytes,6,opt,name=user_long_name,json=userLongName" json:"user_long_name,omitempty"` UserShortName string `protobuf:"bytes,7,opt,name=user_short_name,json=userShortName" json:"user_short_name,omitempty"` NotOnConsole bool `protobuf:"varint,8,opt,name=not_on_console,json=notOnConsole" json:"not_on_console,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TokenUpdate) Descriptor ¶
func (*TokenUpdate) Descriptor() ([]byte, []int)
func (*TokenUpdate) GetAwaitingConfiguration ¶
func (m *TokenUpdate) GetAwaitingConfiguration() bool
func (*TokenUpdate) GetNotOnConsole ¶
func (m *TokenUpdate) GetNotOnConsole() bool
func (*TokenUpdate) GetPushMagic ¶
func (m *TokenUpdate) GetPushMagic() string
func (*TokenUpdate) GetToken ¶
func (m *TokenUpdate) GetToken() []byte
func (*TokenUpdate) GetUnlockToken ¶
func (m *TokenUpdate) GetUnlockToken() []byte
func (*TokenUpdate) GetUserId ¶
func (m *TokenUpdate) GetUserId() string
func (*TokenUpdate) GetUserLongName ¶
func (m *TokenUpdate) GetUserLongName() string
func (*TokenUpdate) GetUserShortName ¶
func (m *TokenUpdate) GetUserShortName() string
func (*TokenUpdate) ProtoMessage ¶
func (*TokenUpdate) ProtoMessage()
func (*TokenUpdate) Reset ¶
func (m *TokenUpdate) Reset()
func (*TokenUpdate) String ¶
func (m *TokenUpdate) String() string
func (*TokenUpdate) XXX_DiscardUnknown ¶
func (m *TokenUpdate) XXX_DiscardUnknown()
func (*TokenUpdate) XXX_Marshal ¶
func (m *TokenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TokenUpdate) XXX_Merge ¶
func (dst *TokenUpdate) XXX_Merge(src proto.Message)
func (*TokenUpdate) XXX_Size ¶
func (m *TokenUpdate) XXX_Size() int
func (*TokenUpdate) XXX_Unmarshal ¶
func (m *TokenUpdate) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.