stream_parser

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, b Builder)

Types

type Builder

type Builder interface {
	Build(pm map[string]string) (Parser, error)
}

type Parser

type Parser interface {
	ParseLiveStream(ctx context.Context, streamInfo *lives.StreamUrlInfo, file, refer string) error
	Stop() error
}

func New

func New(name string, pm map[string]string) (Parser, error)

type StatusParser

type StatusParser interface {
	Parser
	Status() (map[string]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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