Documentation ¶ Index ¶ type Reader func NewReader(r io.Reader, limiter *rate.Limiter) *Reader func (r *Reader) Read(p []byte) (n int, err error) type Writer func NewWriter(w io.Writer, limiter *rate.Limiter) *Writer func (w *Writer) Write(p []byte) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Reader ¶ type Reader struct { // contains filtered or unexported fields } func NewReader ¶ func NewReader(r io.Reader, limiter *rate.Limiter) *Reader func (*Reader) Read ¶ func (r *Reader) Read(p []byte) (n int, err error) type Writer ¶ type Writer struct { // contains filtered or unexported fields } func NewWriter ¶ func NewWriter(w io.Writer, limiter *rate.Limiter) *Writer func (*Writer) Write ¶ func (w *Writer) Write(p []byte) (n int, err error) Source Files ¶ View all Source files reader.go writer.go Click to show internal directories. Click to hide internal directories.