Documentation ¶
Index ¶
- func NewEGame() (model.Client, error)
- type EGame
- func (e *EGame) Enter(room string) (int, [][]byte, error)
- func (e *EGame) GetPlayURL(room string, qn int) (*model.PlayURL, error)
- func (e *EGame) GetRoomInfo(room string) (*model.RoomInfo, error)
- func (e *EGame) Handle(tp int, data []byte) ([]model.Msg, bool, error)
- func (e *EGame) HeartBeat() (tp int, data []byte, err error)
- func (e *EGame) Host(room string) string
- func (e *EGame) Plat() string
- func (e *EGame) SendDanmaku(room string, content string, tp int, color int64) error
- func (e *EGame) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EGame ¶
func (*EGame) GetPlayURL ¶
GetPlayURL .
func (*EGame) GetRoomInfo ¶
GetRoomInfo .
func (*EGame) SendDanmaku ¶
SendDanmaku .
Click to show internal directories.
Click to hide internal directories.