Documentation
¶
Index ¶
- type Generator
- func (g *Generator) GetPreview(ctx context.Context, sourceURL string, duration float64, urlPattern string, ...) ([]byte, error)
- func (g *Generator) GetSprite(ctx context.Context, sourceURL string, duration float64, urlPattern string, ...) ([]byte, error)
- func (g *Generator) GetSpriteVTT(ctx context.Context, sourceURL string, duration float64, urlPattern string) ([]byte, error)
- func (g *Generator) GetSubtitles(ctx context.Context, sourceURL string, streamIndex int, lang string) ([]byte, error)
- func (g *Generator) GetThumbnail(ctx context.Context, sourceURL string, duration float64, urlPattern string, ...) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func (*Generator) GetPreview ¶ added in v0.0.4
func (*Generator) GetSpriteVTT ¶
func (*Generator) GetSubtitles ¶
Click to show internal directories.
Click to hide internal directories.