ws

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// URL websocket url
	// https://www.douyu.com/lapi/live/gateway/web/9999?isH5=1
	URL = "wss://wsproxy.douyu.com:6671"
)

Variables

This section is empty.

Functions

func Login

func Login(p LoginParams) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type LoginParams

type LoginParams struct {
	Room     int
	Stk      string
	Ltkid    string
	Username string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL