@ -2,11 +2,12 @@ package main
import (
"flag"
"github.com/openimsdk/open-im-server/v3/tools/url2im/pkg"
"log"
"os"
"path/filepath"
"time"
)
/*take.txt
@ -6,11 +6,12 @@ import (
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
"github.com/OpenIMSDK/protocol/auth"
"github.com/OpenIMSDK/protocol/constant"
"github.com/OpenIMSDK/protocol/third"
type Api struct {
@ -8,7 +8,6 @@ import (
@ -20,6 +19,8 @@ import (
"sync"
"sync/atomic"
type Upload struct {
@ -2,9 +2,10 @@ package pkg
"bufio"
"github.com/kelindar/bitmap"
"strconv"
func ReadProgress(path string) (*Progress, error) {