Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMaxSize = 1 * 1024 * 1024 // 1MB
Functions ¶
This section is empty.
Types ¶
type BufferedProcessor ¶
type BufferedProcessor struct {
// contains filtered or unexported fields
}
func New ¶
func New(options ...Option) *BufferedProcessor
type Option ¶
type Option func(reader *BufferedProcessor) *BufferedProcessor
func WithLogger ¶
WithLogger will configure the logger for the reader
func WithMaxSize ¶
WithMaxSize will configure max size in bytes for the HTTP requests
Click to show internal directories.
Click to hide internal directories.