Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageStreamParser ¶
type ImageStreamParser struct {
// contains filtered or unexported fields
}
func NewImageStreamParser ¶
func NewImageStreamParser() *ImageStreamParser
NewImageStreamParser creates a new image stream parser
func (*ImageStreamParser) GetSupportedTypes ¶
func (p *ImageStreamParser) GetSupportedTypes() []string
GetSupportedTypes returns the supported file formats
type Parser ¶
type Parser struct {
}
Parser implements a parser for image files
func (*Parser) ParseWithCallback ¶
func (p *Parser) ParseWithCallback(ctx context.Context, r io.Reader, callback func(entity.Chunk) error) error
ParseWithCallback parses image and calls the callback for each chunk
func (*Parser) SupportedFormats ¶
SupportedFormats returns the list of supported image formats
Click to show internal directories.
Click to hide internal directories.