diff --git a/go.mod b/go.mod index 57c3c41..db16b59 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module git.solsynth.dev/hydrogen/messaging +module git.solsynth.dev/hypernet/messaging go 1.23.2 diff --git a/pkg/internal/database/migrator.go b/pkg/internal/database/migrator.go index 0ba0f89..4813f73 100644 --- a/pkg/internal/database/migrator.go +++ b/pkg/internal/database/migrator.go @@ -1,7 +1,7 @@ package database import ( - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "gorm.io/gorm" ) diff --git a/pkg/internal/database/source.go b/pkg/internal/database/source.go index 12c9763..7ae6651 100644 --- a/pkg/internal/database/source.go +++ b/pkg/internal/database/source.go @@ -2,7 +2,7 @@ package database import ( "fmt" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" "git.solsynth.dev/hypernet/nexus/pkg/nex/cruda" "github.com/rs/zerolog/log" "github.com/samber/lo" diff --git a/pkg/internal/grpc/services.go b/pkg/internal/grpc/services.go index b5281db..67af9f8 100644 --- a/pkg/internal/grpc/services.go +++ b/pkg/internal/grpc/services.go @@ -6,7 +6,7 @@ import ( "git.solsynth.dev/hypernet/nexus/pkg/proto" "strconv" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" ) func (v *Server) BroadcastEvent(ctx context.Context, in *proto.EventInfo) (*proto.EventResponse, error) { diff --git a/pkg/internal/grpc/stream.go b/pkg/internal/grpc/stream.go index fb0d367..b2402bf 100644 --- a/pkg/internal/grpc/stream.go +++ b/pkg/internal/grpc/stream.go @@ -5,9 +5,9 @@ import ( "fmt" "git.solsynth.dev/hypernet/nexus/pkg/nex" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "git.solsynth.dev/hypernet/nexus/pkg/proto" jsoniter "github.com/json-iterator/go" ) diff --git a/pkg/internal/http/api/calls_api.go b/pkg/internal/http/api/calls_api.go index 958ae5c..6baa51a 100644 --- a/pkg/internal/http/api/calls_api.go +++ b/pkg/internal/http/api/calls_api.go @@ -5,10 +5,10 @@ import ( authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "sync" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" "github.com/google/uuid" "github.com/spf13/viper" diff --git a/pkg/internal/http/api/channel_members_api.go b/pkg/internal/http/api/channel_members_api.go index 6c3ff79..7fa2062 100644 --- a/pkg/internal/http/api/channel_members_api.go +++ b/pkg/internal/http/api/channel_members_api.go @@ -6,11 +6,11 @@ import ( authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" ) diff --git a/pkg/internal/http/api/channels_api.go b/pkg/internal/http/api/channels_api.go index 902b9e8..40c8b79 100644 --- a/pkg/internal/http/api/channels_api.go +++ b/pkg/internal/http/api/channels_api.go @@ -6,11 +6,11 @@ import ( authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" "github.com/samber/lo" ) diff --git a/pkg/internal/http/api/direct_channels_api.go b/pkg/internal/http/api/direct_channels_api.go index 9a213b8..cfd0b95 100644 --- a/pkg/internal/http/api/direct_channels_api.go +++ b/pkg/internal/http/api/direct_channels_api.go @@ -5,11 +5,11 @@ import ( "git.solsynth.dev/hypernet/nexus/pkg/nex/sec" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" ) diff --git a/pkg/internal/http/api/events_api.go b/pkg/internal/http/api/events_api.go index a9c9741..aa7ec30 100644 --- a/pkg/internal/http/api/events_api.go +++ b/pkg/internal/http/api/events_api.go @@ -5,9 +5,9 @@ import ( "git.solsynth.dev/hypernet/nexus/pkg/nex/sec" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" ) diff --git a/pkg/internal/http/api/events_message_api.go b/pkg/internal/http/api/events_message_api.go index 9bf5a05..1b9229d 100644 --- a/pkg/internal/http/api/events_message_api.go +++ b/pkg/internal/http/api/events_message_api.go @@ -5,9 +5,9 @@ import ( authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "strings" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/exts" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/exts" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" jsoniter "github.com/json-iterator/go" ) diff --git a/pkg/internal/http/api/realms_api.go b/pkg/internal/http/api/realms_api.go index 50c8936..980fc80 100644 --- a/pkg/internal/http/api/realms_api.go +++ b/pkg/internal/http/api/realms_api.go @@ -3,7 +3,7 @@ package api import ( "fmt" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/gofiber/fiber/v2" ) diff --git a/pkg/internal/http/api/whats_new_api.go b/pkg/internal/http/api/whats_new_api.go index 61d707e..e0e260c 100644 --- a/pkg/internal/http/api/whats_new_api.go +++ b/pkg/internal/http/api/whats_new_api.go @@ -5,8 +5,8 @@ import ( "git.solsynth.dev/hypernet/nexus/pkg/nex/sec" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "github.com/gofiber/fiber/v2" ) diff --git a/pkg/internal/http/server.go b/pkg/internal/http/server.go index 9329a66..6194050 100644 --- a/pkg/internal/http/server.go +++ b/pkg/internal/http/server.go @@ -5,7 +5,7 @@ import ( "git.solsynth.dev/hypernet/passport/pkg/authkit" "strings" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http/api" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http/api" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" "github.com/gofiber/fiber/v2/middleware/idempotency" diff --git a/pkg/internal/services/accounts.go b/pkg/internal/services/accounts.go index 65900ea..a927600 100644 --- a/pkg/internal/services/accounts.go +++ b/pkg/internal/services/accounts.go @@ -6,7 +6,7 @@ import ( authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "time" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" "github.com/samber/lo" "git.solsynth.dev/hydrogen/dealer/pkg/proto" diff --git a/pkg/internal/services/calls.go b/pkg/internal/services/calls.go index 15f8791..caea4da 100644 --- a/pkg/internal/services/calls.go +++ b/pkg/internal/services/calls.go @@ -4,7 +4,7 @@ import ( "context" "errors" "fmt" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" "git.solsynth.dev/hypernet/nexus/pkg/nex" "git.solsynth.dev/hypernet/passport/pkg/authkit" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" @@ -12,8 +12,8 @@ import ( "time" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" jsoniter "github.com/json-iterator/go" "github.com/livekit/protocol/auth" "github.com/livekit/protocol/livekit" diff --git a/pkg/internal/services/channel_members.go b/pkg/internal/services/channel_members.go index 18aa5af..5c0504f 100644 --- a/pkg/internal/services/channel_members.go +++ b/pkg/internal/services/channel_members.go @@ -3,16 +3,16 @@ package services import ( "context" "fmt" - localCache "git.solsynth.dev/hydrogen/messaging/pkg/internal/cache" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + localCache "git.solsynth.dev/hypernet/messaging/pkg/internal/cache" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" "git.solsynth.dev/hypernet/passport/pkg/authkit" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "github.com/eko/gocache/lib/v4/cache" "github.com/eko/gocache/lib/v4/marshaler" "github.com/eko/gocache/lib/v4/store" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" ) func ListChannelMember(channelId uint) ([]models.ChannelMember, error) { diff --git a/pkg/internal/services/channels.go b/pkg/internal/services/channels.go index edf8b4c..0241ebb 100644 --- a/pkg/internal/services/channels.go +++ b/pkg/internal/services/channels.go @@ -3,7 +3,7 @@ package services import ( "context" "fmt" - localCache "git.solsynth.dev/hydrogen/messaging/pkg/internal/cache" + localCache "git.solsynth.dev/hypernet/messaging/pkg/internal/cache" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" "github.com/eko/gocache/lib/v4/cache" "github.com/eko/gocache/lib/v4/marshaler" @@ -11,8 +11,8 @@ import ( "regexp" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "github.com/samber/lo" "github.com/spf13/viper" "gorm.io/gorm" diff --git a/pkg/internal/services/cleaner.go b/pkg/internal/services/cleaner.go index a0948f6..d575373 100644 --- a/pkg/internal/services/cleaner.go +++ b/pkg/internal/services/cleaner.go @@ -3,7 +3,7 @@ package services import ( "time" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" "github.com/rs/zerolog/log" ) diff --git a/pkg/internal/services/direct_channels.go b/pkg/internal/services/direct_channels.go index d77e211..9dabb80 100644 --- a/pkg/internal/services/direct_channels.go +++ b/pkg/internal/services/direct_channels.go @@ -4,8 +4,8 @@ import ( "fmt" authm "git.solsynth.dev/hypernet/passport/pkg/authkit/models" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" ) func GetDirectChannelByUser(user authm.Account, other authm.Account) (models.Channel, error) { diff --git a/pkg/internal/services/events.go b/pkg/internal/services/events.go index 7ce105a..e4d2a32 100644 --- a/pkg/internal/services/events.go +++ b/pkg/internal/services/events.go @@ -2,15 +2,15 @@ package services import ( "fmt" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" "git.solsynth.dev/hypernet/nexus/pkg/nex" "git.solsynth.dev/hypernet/passport/pkg/authkit" "git.solsynth.dev/hypernet/pusher/pkg/pushkit" "strings" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" jsoniter "github.com/json-iterator/go" "github.com/rs/zerolog/log" "github.com/samber/lo" diff --git a/pkg/internal/services/messages.go b/pkg/internal/services/messages.go index e935d83..3cd4489 100644 --- a/pkg/internal/services/messages.go +++ b/pkg/internal/services/messages.go @@ -1,7 +1,7 @@ package services import ( - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "github.com/google/uuid" jsoniter "github.com/json-iterator/go" ) diff --git a/pkg/internal/services/realms.go b/pkg/internal/services/realms.go index 7dd08fd..27d7549 100644 --- a/pkg/internal/services/realms.go +++ b/pkg/internal/services/realms.go @@ -6,9 +6,9 @@ import ( "git.solsynth.dev/hydrogen/dealer/pkg/hyper" "git.solsynth.dev/hydrogen/dealer/pkg/proto" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "github.com/samber/lo" "github.com/spf13/viper" ) diff --git a/pkg/internal/services/status.go b/pkg/internal/services/status.go index be391c1..e2f236a 100644 --- a/pkg/internal/services/status.go +++ b/pkg/internal/services/status.go @@ -5,10 +5,10 @@ import ( "fmt" "git.solsynth.dev/hydrogen/dealer/pkg/hyper" "git.solsynth.dev/hydrogen/dealer/pkg/proto" - localCache "git.solsynth.dev/hydrogen/messaging/pkg/internal/cache" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/models" + localCache "git.solsynth.dev/hypernet/messaging/pkg/internal/cache" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/models" "github.com/eko/gocache/lib/v4/cache" "github.com/eko/gocache/lib/v4/marshaler" "github.com/eko/gocache/lib/v4/store" diff --git a/pkg/internal/services/websocket.go b/pkg/internal/services/websocket.go index 31db12e..1cbdff9 100644 --- a/pkg/internal/services/websocket.go +++ b/pkg/internal/services/websocket.go @@ -8,7 +8,7 @@ import ( "github.com/samber/lo" "git.solsynth.dev/hydrogen/dealer/pkg/proto" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" ) func PushCommand(userId uint, task nex.WebSocketPackage) { diff --git a/pkg/main.go b/pkg/main.go index 88372eb..f860cfc 100644 --- a/pkg/main.go +++ b/pkg/main.go @@ -8,17 +8,17 @@ import ( "os/signal" "syscall" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/gap" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/grpc" + "git.solsynth.dev/hypernet/messaging/pkg/internal/gap" + "git.solsynth.dev/hypernet/messaging/pkg/internal/grpc" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/services" + "git.solsynth.dev/hypernet/messaging/pkg/internal/services" "github.com/robfig/cron/v3" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/http" + "git.solsynth.dev/hypernet/messaging/pkg/internal/http" - pkg "git.solsynth.dev/hydrogen/messaging/pkg/internal" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/cache" - "git.solsynth.dev/hydrogen/messaging/pkg/internal/database" + pkg "git.solsynth.dev/hypernet/messaging/pkg/internal" + "git.solsynth.dev/hypernet/messaging/pkg/internal/cache" + "git.solsynth.dev/hypernet/messaging/pkg/internal/database" "github.com/rs/zerolog" "github.com/rs/zerolog/log" "github.com/spf13/viper"