provider

package
v0.0.0-...-1ce205e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratedProvider

type GeneratedProvider struct {
	Identifier string
	StreamList []*stream.Stream
}

func (GeneratedProvider) ID

func (p GeneratedProvider) ID() string

func (GeneratedProvider) Streams

func (p GeneratedProvider) Streams() []*stream.Stream

func (GeneratedProvider) Validate

func (p GeneratedProvider) Validate() error

type Provider

type Provider interface {
	ID() string
	Streams() []*stream.Stream
	Validate() error
}

func NewGeneratedProvider

func NewGeneratedProvider(streams []*stream.Stream) Provider

func NewRawProvider

func NewRawProvider(id string, streams []*stream.Stream) Provider

type RawProvider

type RawProvider struct {
	Identifier string
	StreamList []*stream.Stream
}

func (RawProvider) ID

func (p RawProvider) ID() string

func (RawProvider) Streams

func (p RawProvider) Streams() []*stream.Stream

func (RawProvider) Validate

func (p RawProvider) Validate() error

Jump to

Keyboard shortcuts

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