Documentation ¶
Index ¶
- Variables
- func FindSubnumber(r *regexp.Regexp, s string) int64
- func FindSubstring(r *regexp.Regexp, s string) string
- func H(reader *progressbar.Reader, hook WebHook) error
- func ReadAll(fn func(data string) error) reader
- func ReadLine(fn func(line string) (isBreak bool)) reader
- func ReadLineWithFile(filename string) ([]string, error)
- func SetConcurrent(c int)
- func Unmarshal(v interface{}) reader
- func WriteTo(w io.Writer) reader
- type Link
- type Metadata
- type RsInfor
- type RsResolution
- type RsVideo
- type RsVideoHeader
- type WebHook
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknown . ErrUnknown errorCode = -1 // ErrNotFound 404 ErrNotFound errorCode = 404 )
Functions ¶
Types ¶
type Metadata ¶
type Metadata struct { Method string Header map[string]string Data interface{} // contains filtered or unexported fields }
Metadata .
type RsInfor ¶
type RsInfor struct { // 所有者 Owner string // 视频网站首页 WebHome Link // 视频列表 VideoList []*RsVideoHeader // contains filtered or unexported fields }
RsInfor .
type RsResolution ¶
type RsResolution struct {
// contains filtered or unexported fields
}
RsResolution .
func NewResolutionRule ¶
func NewResolutionRule(rule func(v string) int) *RsResolution
NewResolutionRule .
type RsVideo ¶
type RsVideo struct { RsVideoHeader // HLink hls link HLink Link // Parts of video Parts []Link // contains filtered or unexported fields }
RsVideo .
type RsVideoHeader ¶
RsVideoHeader .
Click to show internal directories.
Click to hide internal directories.