mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-02 08:19:14 +02:00
rename package.
This commit is contained in:
parent
168507dcd4
commit
15e805c9b2
99 changed files with 267 additions and 256 deletions
|
@ -7,8 +7,8 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/utils"
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/utils"
|
||||
)
|
||||
|
||||
type BatchRequest struct {
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
|
||||
"github.com/go-chi/chi"
|
||||
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/types"
|
||||
)
|
||||
|
||||
func pprofHandler(r types.Router) {
|
||||
|
|
|
@ -5,13 +5,14 @@ import (
|
|||
"fmt"
|
||||
"net/http"
|
||||
|
||||
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
|
||||
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
|
||||
oldEvent "m1k1o/neko/internal/http/legacy/event"
|
||||
oldMessage "m1k1o/neko/internal/http/legacy/message"
|
||||
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/types/event"
|
||||
"m1k1o/neko/pkg/types/message"
|
||||
"m1k1o/neko/pkg/utils"
|
||||
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/types/event"
|
||||
"github.com/demodesk/neko/pkg/types/message"
|
||||
"github.com/demodesk/neko/pkg/utils"
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package message
|
||||
|
||||
import (
|
||||
"github.com/demodesk/neko/internal/http/legacy/types"
|
||||
"m1k1o/neko/internal/http/legacy/types"
|
||||
|
||||
"github.com/pion/webrtc/v3"
|
||||
)
|
||||
|
|
|
@ -8,10 +8,11 @@ import (
|
|||
"net/http"
|
||||
"strings"
|
||||
|
||||
oldTypes "github.com/demodesk/neko/internal/http/legacy/types"
|
||||
oldTypes "m1k1o/neko/internal/http/legacy/types"
|
||||
|
||||
"m1k1o/neko/internal/api"
|
||||
"m1k1o/neko/pkg/types"
|
||||
|
||||
"github.com/demodesk/neko/internal/api"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/rs/zerolog"
|
||||
)
|
||||
|
|
|
@ -8,15 +8,15 @@ import (
|
|||
"github.com/gorilla/websocket"
|
||||
"github.com/pion/webrtc/v3"
|
||||
|
||||
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
|
||||
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
|
||||
oldEvent "m1k1o/neko/internal/http/legacy/event"
|
||||
oldMessage "m1k1o/neko/internal/http/legacy/message"
|
||||
|
||||
"github.com/demodesk/neko/internal/api/room"
|
||||
"github.com/demodesk/neko/internal/plugins/chat"
|
||||
"github.com/demodesk/neko/internal/plugins/filetransfer"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/types/event"
|
||||
"github.com/demodesk/neko/pkg/types/message"
|
||||
"m1k1o/neko/internal/api/room"
|
||||
"m1k1o/neko/internal/plugins/chat"
|
||||
"m1k1o/neko/internal/plugins/filetransfer"
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/types/event"
|
||||
"m1k1o/neko/pkg/types/message"
|
||||
)
|
||||
|
||||
func (s *session) wsToBackend(msg []byte) error {
|
||||
|
|
|
@ -7,15 +7,15 @@ import (
|
|||
|
||||
"github.com/pion/webrtc/v3"
|
||||
|
||||
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
|
||||
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
|
||||
oldTypes "github.com/demodesk/neko/internal/http/legacy/types"
|
||||
oldEvent "m1k1o/neko/internal/http/legacy/event"
|
||||
oldMessage "m1k1o/neko/internal/http/legacy/message"
|
||||
oldTypes "m1k1o/neko/internal/http/legacy/types"
|
||||
|
||||
"github.com/demodesk/neko/internal/plugins/chat"
|
||||
"github.com/demodesk/neko/internal/plugins/filetransfer"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/types/event"
|
||||
"github.com/demodesk/neko/pkg/types/message"
|
||||
"m1k1o/neko/internal/plugins/chat"
|
||||
"m1k1o/neko/internal/plugins/filetransfer"
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/types/event"
|
||||
"m1k1o/neko/pkg/types/message"
|
||||
)
|
||||
|
||||
func profileToMember(id string, profile types.MemberProfile) (*oldTypes.Member, error) {
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
"github.com/go-chi/chi/middleware"
|
||||
"github.com/rs/zerolog"
|
||||
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/utils"
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/utils"
|
||||
)
|
||||
|
||||
type logFormatter struct {
|
||||
|
|
|
@ -9,9 +9,9 @@ import (
|
|||
"github.com/rs/zerolog"
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/demodesk/neko/internal/config"
|
||||
"github.com/demodesk/neko/internal/http/legacy"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"m1k1o/neko/internal/config"
|
||||
"m1k1o/neko/internal/http/legacy"
|
||||
"m1k1o/neko/pkg/types"
|
||||
)
|
||||
|
||||
type HttpManagerCtx struct {
|
||||
|
|
|
@ -8,9 +8,9 @@ import (
|
|||
"github.com/go-chi/cors"
|
||||
"github.com/rs/zerolog"
|
||||
|
||||
"github.com/demodesk/neko/pkg/auth"
|
||||
"github.com/demodesk/neko/pkg/types"
|
||||
"github.com/demodesk/neko/pkg/utils"
|
||||
"m1k1o/neko/pkg/auth"
|
||||
"m1k1o/neko/pkg/types"
|
||||
"m1k1o/neko/pkg/utils"
|
||||
)
|
||||
|
||||
type RouterOption func(*router)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue