Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DecoderRegistry []DecoderFactory
Functions ¶
func RegisterDecoder ¶
func RegisterDecoder(ext string, noop bool, dispatchFunc NewDecoderFunc)
Types ¶
type AudioMeta ¶
func ParseFilenameMeta ¶
type AudioMetaGetter ¶
type CoverImageGetter ¶
type CryptoParams ¶
type Decoder ¶
func NewRawDecoder ¶
func NewRawDecoder(p *DecoderParams) Decoder
type DecoderFactory ¶
type DecoderFactory struct { Suffix string Create NewDecoderFunc // contains filtered or unexported fields }
func GetDecoder ¶
func GetDecoder(filename string, skipNoop bool) []DecoderFactory
type DecoderParams ¶
type DecoderParams struct { Reader io.ReadSeeker // required Extension string // required, source extension, eg. ".mp3" FilePath string // optional, source file path Logger *zap.Logger // required CryptoParams CryptoParams }
type NewDecoderFunc ¶
type NewDecoderFunc func(p *DecoderParams) Decoder
type RawDecoder ¶
type RawDecoder struct {
// contains filtered or unexported fields
}
func (*RawDecoder) Validate ¶
func (d *RawDecoder) Validate() error
type StreamDecoder ¶
Click to show internal directories.
Click to hide internal directories.