v1.4.1
This commit is contained in:
@@ -4,12 +4,13 @@ package readers
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"github.com/iwind/TeaGo/types"
|
||||
"io"
|
||||
"mime/multipart"
|
||||
"net/textproto"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/iwind/TeaGo/types"
|
||||
)
|
||||
|
||||
type OnPartReadHandler func(start int64, end int64, total int64, data []byte, header textproto.MIMEHeader)
|
||||
|
||||
@@ -5,10 +5,11 @@ package readers_test
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/readers"
|
||||
"io"
|
||||
"net/textproto"
|
||||
"testing"
|
||||
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/readers"
|
||||
)
|
||||
|
||||
func TestNewByteRangesReader(t *testing.T) {
|
||||
|
||||
@@ -5,8 +5,9 @@ package readers_test
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/readers"
|
||||
"testing"
|
||||
|
||||
"github.com/TeaOSLab/EdgeNode/internal/utils/readers"
|
||||
)
|
||||
|
||||
func TestNewFilterReader(t *testing.T) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2022 GoEdge goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
// Copyright 2022 GoEdge goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cloud .
|
||||
|
||||
package readers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user