parsem3u8

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRedirect = errors.New(`ErrRedirect`)
)

Functions

func ParseQuery

func ParseQuery(rawURL, key string) string

just faster, use in right way

eg. ParseQuery(`http://1.com/2?workspace=1`, "workspace=") => `1`

Types

type TargetInterface

type TargetInterface interface {
	Parse(respon []byte, lastNo int) (m4sLink iter.Seq[interface {
		IsHeader() bool
		M4sLink() string
	}], redirectUrl string, err error)
	IsErrRedirect(e error) bool
}

Jump to

Keyboard shortcuts

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