mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-04 04:30:09 +00:00
update mod name
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
## 关联仓库
|
||||
- 插件接口定义
|
||||
- [Ratte-Interface](https://github.com/Yuzuki616/Ratte-Interface)
|
||||
- [Ratte-Interface](https://github.com/InazumaV/Ratte-Interface)
|
||||
|
||||
## Thanks
|
||||
- [hashicorp/go-plugin](https://github.com/hashicorp/go-plugin)
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"Ratte/handler"
|
||||
"Ratte/trigger"
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/Ratte-Interface/core"
|
||||
"github.com/Yuzuki616/Ratte-Interface/panel"
|
||||
"github.com/InazumaV/Ratte-Interface/core"
|
||||
"github.com/InazumaV/Ratte-Interface/panel"
|
||||
log "github.com/sirupsen/logrus"
|
||||
"github.com/spf13/cobra"
|
||||
"os"
|
||||
|
||||
7
go.mod
7
go.mod
@@ -1,15 +1,14 @@
|
||||
module Ratte
|
||||
module github.com/InazumaV/Ratte
|
||||
|
||||
go 1.22.0
|
||||
|
||||
toolchain go1.23.1
|
||||
|
||||
require (
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172739-1b3f94836144
|
||||
github.com/InazumaV/Ratte-Interface v0.0.0-20241209172154-eb1d9356093c
|
||||
github.com/fsnotify/fsnotify v1.7.0
|
||||
github.com/go-acme/lego/v4 v4.18.0
|
||||
github.com/goccy/go-json v0.10.3
|
||||
github.com/hashicorp/go-plugin v1.6.1
|
||||
github.com/orcaman/concurrent-map/v2 v2.0.1
|
||||
github.com/robfig/cron/v3 v3.0.1
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
@@ -38,6 +37,7 @@ require (
|
||||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
||||
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
|
||||
github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87 // indirect
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172739-1b3f94836144 // indirect
|
||||
github.com/akamai/AkamaiOPEN-edgegrid-golang v1.2.2 // indirect
|
||||
github.com/aliyun/alibaba-cloud-sdk-go v1.62.712 // indirect
|
||||
github.com/aws/aws-sdk-go-v2 v1.27.2 // indirect
|
||||
@@ -94,6 +94,7 @@ require (
|
||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||
github.com/hashicorp/go-hclog v1.6.3 // indirect
|
||||
github.com/hashicorp/go-multierror v1.1.1 // indirect
|
||||
github.com/hashicorp/go-plugin v1.6.1 // indirect
|
||||
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
|
||||
github.com/hashicorp/go-uuid v1.0.3 // indirect
|
||||
github.com/hashicorp/yamux v0.1.1 // indirect
|
||||
|
||||
8
go.sum
8
go.sum
@@ -61,15 +61,11 @@ github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2/go.mod h1:wP83
|
||||
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
|
||||
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
|
||||
github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
|
||||
github.com/InazumaV/Ratte-Interface v0.0.0-20241209172154-eb1d9356093c h1:Cv3vuJGl7kGoINJe3E0NNSzkWW/aLj9ohr41idFlmQs=
|
||||
github.com/InazumaV/Ratte-Interface v0.0.0-20241209172154-eb1d9356093c/go.mod h1:UxqxslbpT8Q4qMldSNI6VCX5WFXWDbvE4fXpymp73kA=
|
||||
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
|
||||
github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87 h1:xPMsUicZ3iosVPSIP7bW5EcGUzjiiMl1OYTe14y/R24=
|
||||
github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87/go.mod h1:iGLljf5n9GjT6kc0HBvyI1nOKnGQbNB66VzSNbK5iks=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241118194538-facf11a8e444 h1:WNPpKp/RH5fYtcjtPvRueDMZeZdnv2ZoWyQ41ITeAD0=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241118194538-facf11a8e444/go.mod h1:oW6wbZfawdudu9VbTy2YIWoMNpfttYX8qcsM19oXCCI=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122170215-57da39558e5a h1:kG4UIW63SqKhWaRyNBqKtaOnO9mF2GV6E/Grv/kBlX8=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122170215-57da39558e5a/go.mod h1:oW6wbZfawdudu9VbTy2YIWoMNpfttYX8qcsM19oXCCI=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172417-cc1eed392b81 h1:3ZSNh/rMEs2VA6DaYaoZQzNHZz5i+4D19DMQa4UHFKI=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172417-cc1eed392b81/go.mod h1:oW6wbZfawdudu9VbTy2YIWoMNpfttYX8qcsM19oXCCI=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172739-1b3f94836144 h1:cAwvrrndgL3R68WwMWAFweyrIgy+0HO4VcQG74jVxyI=
|
||||
github.com/Yuzuki616/Ratte-Interface v0.0.0-20241122172739-1b3f94836144/go.mod h1:oW6wbZfawdudu9VbTy2YIWoMNpfttYX8qcsM19oXCCI=
|
||||
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
"sync/atomic"
|
||||
)
|
||||
import "github.com/Yuzuki616/Ratte-Interface/core"
|
||||
import "github.com/Yuzuki616/Ratte-Interface/panel"
|
||||
import "github.com/InazumaV/Ratte-Interface/core"
|
||||
import "github.com/InazumaV/Ratte-Interface/panel"
|
||||
|
||||
type Handler struct {
|
||||
c core.Core
|
||||
|
||||
@@ -2,8 +2,8 @@ package handler
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/Ratte-Interface/core"
|
||||
"github.com/Yuzuki616/Ratte-Interface/panel"
|
||||
"github.com/InazumaV/Ratte-Interface/core"
|
||||
"github.com/InazumaV/Ratte-Interface/panel"
|
||||
)
|
||||
|
||||
func (h *Handler) PullNodeHandle(n *panel.NodeInfo) error {
|
||||
|
||||
@@ -3,8 +3,8 @@ package handler
|
||||
import (
|
||||
"Ratte/common/slices"
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/Ratte-Interface/core"
|
||||
"github.com/Yuzuki616/Ratte-Interface/panel"
|
||||
"github.com/InazumaV/Ratte-Interface/core"
|
||||
"github.com/InazumaV/Ratte-Interface/panel"
|
||||
)
|
||||
|
||||
func compareUserList(old, new []panel.UserInfo) (deleted []string, added []panel.UserInfo) {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"Ratte/conf"
|
||||
"Ratte/handler"
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/Ratte-Interface/panel"
|
||||
"github.com/InazumaV/Ratte-Interface/panel"
|
||||
cmap "github.com/orcaman/concurrent-map/v2"
|
||||
"github.com/robfig/cron/v3"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
Reference in New Issue
Block a user