Documentation ¶
Overview ¶
Package reader implements a size-limited reader for uploading templates of multiple kinds.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LimitReader ¶
type LimitReader struct {
// contains filtered or unexported fields
}
LimitReader is a size-limited reader for uploading templates of multiple kinds.
func NewLimitReader ¶
func NewLimitReader(stream func() ([]byte, error), limit int64) *LimitReader
NewLimitReader creates a limit reader instance.
Click to show internal directories.
Click to hide internal directories.