api

package
v0.0.0-...-b14e7ae Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *log.Logger

Functions

func GetSupports

func GetSupports() []string

Types

type LuzhiboAPI

type LuzhiboAPI struct {
	Id         string
	URL        string
	G          getters.Getter
	Site       string
	SiteURL    string
	Icon       string
	FileExt    string
	NeedFFmpeg bool
}

LuzhiboAPI API object

func New

func New(url string) *LuzhiboAPI

New 使用网址创建一个实例

func (*LuzhiboAPI) GetLiveInfo

func (i *LuzhiboAPI) GetLiveInfo() (live getters.LiveInfo, err error)

GetLiveInfo 取直播信息

func (*LuzhiboAPI) GetRoomInfo

func (i *LuzhiboAPI) GetRoomInfo() (id string, live bool, err error)

GetRoomInfo 取直播间信息

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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