Documentation ¶
Index ¶
Constants ¶
View Source
const ReadLimit = 3072
ReadLimit is the maximum number of bytes mimetype library reads from the input stream when detecting the type.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamStats ¶
type StreamStatsWriter ¶
type StreamStatsWriter struct {
// contains filtered or unexported fields
}
func NewStreamStatsWriter ¶
func NewStreamStatsWriter() *StreamStatsWriter
func (*StreamStatsWriter) Stats ¶
func (ssw *StreamStatsWriter) Stats() *StreamStats
Click to show internal directories.
Click to hide internal directories.