media_parser

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params ServiceParams) service.MediaParser

Types

type Service

type Service struct {
	RegExp []*regexp.Regexp
}

func (*Service) ParseMedia

func (s *Service) ParseMedia(text []byte) ([]string, error)

func (*Service) Unique

func (s *Service) Unique(paths []string) []string

type ServiceParams

type ServiceParams struct {
	fx.In
}

Jump to

Keyboard shortcuts

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