Documentation ¶
Index ¶
- type CallBackFunc
- type Messages
- type Msg
- type Room
- type UserInfo
- type Version
- type WearTalk
- func (wt *WearTalk) GetIsVIP(uid string) (bool, error)
- func (wt *WearTalk) GetMessages(roomid string, timestamp int64) (*Messages, error)
- func (wt *WearTalk) GetVersion() (*Version, error)
- func (wt *WearTalk) HandleMsg(roomid string, callback CallBackFunc, arguments ...int64)
- func (wt *WearTalk) MarshalUID()
- func (wt *WearTalk) Send(roomid string, message string, arguments ...int64) (map[string]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallBackFunc ¶
type CallBackFunc func(*Msg)
type Messages ¶
type Messages struct { Time interface{} `json:"time"` Room Room `json:"room"` Status interface{} `json:"status"` }
type WearTalk ¶
type WearTalk struct { UID string //Ta/TaMP/TaMi + Int ID int // Int ID NickName string Sex int8 Key string Device int8 Avatar string XFF string }
func (*WearTalk) GetMessages ¶
func (*WearTalk) GetVersion ¶
func (*WearTalk) HandleMsg ¶
func (wt *WearTalk) HandleMsg(roomid string, callback CallBackFunc, arguments ...int64)
func (*WearTalk) MarshalUID ¶
func (wt *WearTalk) MarshalUID()
Click to show internal directories.
Click to hide internal directories.