parser

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package parser provides support for downloading streams.

Index

Constants

This section is empty.

Variables

View Source
var SharedManager = &Manager{}

Functions

This section is empty.

Types

type Manager

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

func (*Manager) Parser

func (p *Manager) Parser(typ string) (Parser, bool)

func (*Manager) Register

func (p *Manager) Register(parsers ...Parser)

type Parser

type Parser interface {
	New() Parser
	Type() string
	Parse(streamURL string, out string) error
	Stop()
}

Jump to

Keyboard shortcuts

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