Documentation ¶
Index ¶
- func NewInke() (model.Client, error)
- type Inke
- func (i *Inke) Enter(room string) (int, [][]byte, error)
- func (i *Inke) GetPlayURL(room string, qn int) (*model.PlayURL, error)
- func (i *Inke) GetRoomInfo(room string) (*model.RoomInfo, error)
- func (i *Inke) Handle(tp int, data []byte) ([]model.Msg, bool, error)
- func (i *Inke) HeartBeat() (int, []byte, error)
- func (i *Inke) Host(room string) string
- func (i *Inke) Plat() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Inke ¶
func (*Inke) GetRoomInfo ¶
GetRoomInfo inke对于普通用户和未开播的主播返回的都是"当前用户无直播",所以只能都返回未知主播
Click to show internal directories.
Click to hide internal directories.