This commit is contained in:
GoEdgeLab
2024-07-27 15:42:50 +08:00
parent d511145bc5
commit c19be78e0d
524 changed files with 1817 additions and 1346 deletions

View File

@@ -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)

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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