Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidRange = errors.New("invalid range: End must be greater than Start")
)
Functions ¶
This section is empty.
Types ¶
type BearerToken ¶
type BearerToken struct {
Token string
}
func (*BearerToken) FromRequestHeader ¶
func (b *BearerToken) FromRequestHeader(r *http.Request) error
type FileData ¶
type FileData struct {
PartialDataInfo *PartialDataInfo
PrettyName string
ContentType string
TotalFileSize int64
ContentReader io.ReadSeekCloser
}
type PartialDataInfo ¶
type RangeOption ¶
func (*RangeOption) FromHeader ¶
func (o *RangeOption) FromHeader(header string) error
nolint:cyclop,mnd
Click to show internal directories.
Click to hide internal directories.