huya

package
v0.7.33 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetInfo_ForLol added in v0.7.33

func GetInfo_ForLol(l *Live, body string) (info *live.Info, err error)

func GetInfo_ForXingXiu added in v0.7.33

func GetInfo_ForXingXiu(l *Live, body string) (info *live.Info, err error)

func GetStreamInfos_ForLol added in v0.7.33

func GetStreamInfos_ForLol(l *Live) (infos []*live.StreamUrlInfo, err error)

func GetStreamInfos_ForXingXiu added in v0.7.33

func GetStreamInfos_ForXingXiu(l *Live) (infos []*live.StreamUrlInfo, err error)

Types

type GetInfoMethod added in v0.7.33

type GetInfoMethod func(l *Live, body string) (*live.Info, error)

type GetStreamInfosMethod added in v0.7.33

type GetStreamInfosMethod func(l *Live) ([]*live.StreamUrlInfo, error)

type Live

type Live struct {
	internal.BaseLive

	LastCdnIndex int
	// contains filtered or unexported fields
}

func (*Live) GetHtmlBody added in v0.7.31

func (l *Live) GetHtmlBody() (htmlBody string, err error)

func (*Live) GetInfo

func (l *Live) GetInfo() (info *live.Info, err error)

func (*Live) GetPlatformCNName

func (l *Live) GetPlatformCNName() string

func (*Live) GetStreamInfos added in v0.7.33

func (l *Live) GetStreamInfos() (infos []*live.StreamUrlInfo, err error)

Jump to

Keyboard shortcuts

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