vlive_go

package module
v0.0.0-...-4cef907 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelType

type ChannelType string
const (
	ChannelTypeBasic ChannelType = "BASIC"
)

type VLive

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

func NewVLive

func NewVLive(httpClient *http.Client) *VLive

func (*VLive) Recents

func (v *VLive) Recents() ([]*Video, error)

type Video

type Video struct {
	Title       string
	Seq         string
	URL         string
	Type        VideoType
	Product     VideoProduct
	Thumbnail   string
	ChannelName string
	ChannelType ChannelType
	ChannelId   string
	ChannelSeq  string
}

type VideoProduct

type VideoProduct string
const (
	VideoProductNone VideoProduct = "NONE"
	VideoProductPaid VideoProduct = "PAID"
)

type VideoType

type VideoType string
const (
	VideoTypeLive VideoType = "LIVE"
	VideoTypeVOD  VideoType = "VOD"
)

Jump to

Keyboard shortcuts

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