|
|
@ -5,6 +5,14 @@ import ( |
|
|
"context" |
|
|
"context" |
|
|
"encoding/json" |
|
|
"encoding/json" |
|
|
"fmt" |
|
|
"fmt" |
|
|
|
|
|
"mime" |
|
|
|
|
|
"net/http" |
|
|
|
|
|
"os" |
|
|
|
|
|
"regexp" |
|
|
|
|
|
"strings" |
|
|
|
|
|
"sync/atomic" |
|
|
|
|
|
"time" |
|
|
|
|
|
|
|
|
"github.com/aldinokemal/go-whatsapp-web-multidevice/config" |
|
|
"github.com/aldinokemal/go-whatsapp-web-multidevice/config" |
|
|
"github.com/aldinokemal/go-whatsapp-web-multidevice/internal/websocket" |
|
|
"github.com/aldinokemal/go-whatsapp-web-multidevice/internal/websocket" |
|
|
pkgError "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/error" |
|
|
pkgError "github.com/aldinokemal/go-whatsapp-web-multidevice/pkg/error" |
|
|
@ -19,13 +27,6 @@ import ( |
|
|
"go.mau.fi/whatsmeow/types/events" |
|
|
"go.mau.fi/whatsmeow/types/events" |
|
|
waLog "go.mau.fi/whatsmeow/util/log" |
|
|
waLog "go.mau.fi/whatsmeow/util/log" |
|
|
"google.golang.org/protobuf/proto" |
|
|
"google.golang.org/protobuf/proto" |
|
|
"mime" |
|
|
|
|
|
"net/http" |
|
|
|
|
|
"os" |
|
|
|
|
|
"regexp" |
|
|
|
|
|
"strings" |
|
|
|
|
|
"sync/atomic" |
|
|
|
|
|
"time" |
|
|
|
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
var ( |
|
|
var ( |
|
|
|