@ -3,8 +3,8 @@ package adaptors
import (
"bytes"
"fmt"
"goUpload/consumers/MYX"
"goUpload/utils"
"goInOut/consumers/MYX"
"goInOut/utils"
"log"
"strconv"
"strings"
@ -4,7 +4,7 @@ import (
"encoding/json"
"goUpload/models"
"goInOut/models"
"math"
@ -3,9 +3,9 @@ package adaptors
"goUpload/consumers/AXYraw"
"goUpload/dbHelper"
"goInOut/consumers/AXYraw"
"goInOut/dbHelper"
"time"
)
@ -2,7 +2,7 @@ package adaptors
"crypto/rc4"
"goUpload/consumers/CQZG/protoFiles"
"goInOut/consumers/CQZG/protoFiles"
"google.golang.org/protobuf/proto"
@ -4,9 +4,9 @@ import (
"encoding/hex"
"goUpload/consumers/GZGZM"
"goInOut/consumers/GZGZM"
@ -3,7 +3,7 @@ package adaptors
"goUpload/consumers/WJHP"
"goInOut/consumers/WJHP"
@ -1,6 +1,6 @@
package AXYraw
import "goUpload/config"
import "goInOut/config"
type ConfigFile struct {
config.Consumer
package CDJYSN
package CQZG
package GZGZM
package HTJC
package JSNCGLQL
package MYX
package WJHP
@ -2,11 +2,11 @@ package consumers
"goUpload/adaptors"
"goUpload/dbHelper/_kafka"
"goInOut/adaptors"
"goInOut/dbHelper/_kafka"
"sync"
@ -4,11 +4,11 @@ import (
"github.com/robfig/cron/v3"
"goUpload/consumers/CDJYSN"
"goUpload/monitors"
"goInOut/consumers/CDJYSN"
"goInOut/monitors"
"path"
@ -2,9 +2,9 @@ package consumers
"goUpload/consumers/CQZG"
"goInOut/consumers/CQZG"
"os"
@ -4,10 +4,10 @@ import (
"crypto/md5"
"io"
"math/rand"
"goUpload/consumers/HTJC"
"goInOut/consumers/HTJC"
"goUpload/consumers/JSNCGLQL"
"goInOut/consumers/JSNCGLQL"
@ -5,10 +5,10 @@ import (
"encoding/csv"
"golang.org/x/text/encoding/unicode"
@ -2,10 +2,10 @@ package consumers
@ -7,7 +7,7 @@ import (
elasticsearch6 "github.com/elastic/go-elasticsearch/v6"
"github.com/elastic/go-elasticsearch/v6/esapi"
@ -1,4 +1,4 @@
module goUpload
module goInOut
go 1.21
@ -2,8 +2,8 @@ package main
"goUpload/config"
"goUpload/consumers"
"goInOut/config"
"goInOut/consumers"
"gopkg.in/natefinch/lumberjack.v2"
package monitors
import "goUpload/dbHelper"
import "goInOut/dbHelper"
type HttpMonitor struct {
HttpClient *dbHelper.HttpHelper