Documentation ¶
Index ¶
Constants ¶
View Source
const HEADER_LIM = 256
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MediaStream ¶
type MediaStream struct { // stdin or `os.File` reader In *bufio.Reader // `In` will be pointing to stdin if `Path` is empty Path string }
func NewMediaStream ¶
func NewMediaStream(in io.Reader, path string) MediaStream
func (*MediaStream) Mime ¶
func (ms *MediaStream) Mime() (Mime, error)
Click to show internal directories.
Click to hide internal directories.