This commit is contained in:
Yuzuki616
2024-12-17 07:18:10 +09:00
parent 2c9b33efee
commit 68519193ec
9 changed files with 15 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
package acme package acme
import ( import (
"Ratte/conf"
"fmt" "fmt"
"github.com/InazumaV/Ratte/conf"
"path" "path"
"github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certcrypto"

View File

@@ -1,8 +1,8 @@
package acme package acme
import ( import (
"Ratte/common/file"
"fmt" "fmt"
"github.com/InazumaV/Ratte/common/file"
"github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate" "github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge/http01" "github.com/go-acme/lego/v4/challenge/http01"

View File

@@ -1,7 +1,6 @@
package acme package acme
import ( import (
"Ratte/common/file"
"crypto" "crypto"
"crypto/ecdsa" "crypto/ecdsa"
"crypto/elliptic" "crypto/elliptic"
@@ -9,6 +8,7 @@ import (
"crypto/x509" "crypto/x509"
"encoding/pem" "encoding/pem"
"fmt" "fmt"
"github.com/InazumaV/Ratte/common/file"
"github.com/go-acme/lego/v4/lego" "github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v4/registration" "github.com/go-acme/lego/v4/registration"
"github.com/goccy/go-json" "github.com/goccy/go-json"

View File

@@ -1,13 +1,13 @@
package main package main
import ( import (
"Ratte/acme"
"Ratte/conf"
"Ratte/handler"
"Ratte/trigger"
"fmt" "fmt"
"github.com/InazumaV/Ratte-Interface/core" "github.com/InazumaV/Ratte-Interface/core"
"github.com/InazumaV/Ratte-Interface/panel" "github.com/InazumaV/Ratte-Interface/panel"
"github.com/InazumaV/Ratte/acme"
"github.com/InazumaV/Ratte/conf"
"github.com/InazumaV/Ratte/handler"
"github.com/InazumaV/Ratte/trigger"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"os" "os"

View File

@@ -1,9 +1,9 @@
package conf package conf
import ( import (
trim "Ratte/common/json"
"Ratte/common/watcher"
"fmt" "fmt"
trim "github.com/InazumaV/Ratte/common/json"
"github.com/InazumaV/Ratte/common/watcher"
"net/http" "net/http"
"os" "os"

View File

@@ -1,9 +1,9 @@
package conf package conf
import ( import (
"Ratte/common/watcher"
"errors" "errors"
"fmt" "fmt"
"github.com/InazumaV/Ratte/common/watcher"
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
"path" "path"
) )

View File

@@ -1,8 +1,8 @@
package handler package handler
import ( import (
"Ratte/acme" "github.com/InazumaV/Ratte/acme"
"Ratte/conf" "github.com/InazumaV/Ratte/conf"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
"sync/atomic" "sync/atomic"
) )

View File

@@ -1,10 +1,10 @@
package handler package handler
import ( import (
"Ratte/common/slices"
"fmt" "fmt"
"github.com/InazumaV/Ratte-Interface/core" "github.com/InazumaV/Ratte-Interface/core"
"github.com/InazumaV/Ratte-Interface/panel" "github.com/InazumaV/Ratte-Interface/panel"
"github.com/InazumaV/Ratte/common/slices"
) )
func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) { func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) {

View File

@@ -1,10 +1,10 @@
package trigger package trigger
import ( import (
"Ratte/conf"
"Ratte/handler"
"fmt" "fmt"
"github.com/InazumaV/Ratte-Interface/panel" "github.com/InazumaV/Ratte-Interface/panel"
"github.com/InazumaV/Ratte/conf"
"github.com/InazumaV/Ratte/handler"
cmap "github.com/orcaman/concurrent-map/v2" cmap "github.com/orcaman/concurrent-map/v2"
"github.com/robfig/cron/v3" "github.com/robfig/cron/v3"
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"