mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor/internal (#1216)
* refactor: update import paths in gateway handlers * refactor: remove obsolete devtools Makefile and README * build: optimize build process for improved efficiency * refactor: remove obsolete pkl files related to Matrix and Sonr network configurations * refactor: move embed code to x/dwn/types
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/medama-io/go-useragent"
|
||||
"github.com/onsonr/sonr/crypto/mpc"
|
||||
"github.com/onsonr/sonr/internal/crypto/mpc"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
"github.com/onsonr/sonr/internal/config/hway"
|
||||
hwayorm "github.com/onsonr/sonr/internal/database/hwayorm"
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
)
|
||||
|
||||
type GatewayContext struct {
|
||||
|
||||
@@ -3,7 +3,7 @@ package context
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
)
|
||||
|
||||
// ParamsBank returns the bank params
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
gocontext "context"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
"github.com/segmentio/ksuid"
|
||||
"lukechampine.com/blake3"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package context
|
||||
|
||||
import (
|
||||
"github.com/onsonr/sonr/crypto/mpc"
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
"github.com/onsonr/sonr/internal/crypto/mpc"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
"lukechampine.com/blake3"
|
||||
)
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
echomiddleware "github.com/labstack/echo/v4/middleware"
|
||||
"github.com/onsonr/sonr/app/gateway/context"
|
||||
"github.com/onsonr/sonr/app/gateway/handlers"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
config "github.com/onsonr/sonr/internal/config/hway"
|
||||
hwayorm "github.com/onsonr/sonr/internal/database/hwayorm"
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
)
|
||||
|
||||
type Gateway = *echo.Echo
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"github.com/onsonr/sonr/app/gateway/context"
|
||||
"github.com/onsonr/sonr/app/gateway/islands"
|
||||
"github.com/onsonr/sonr/app/gateway/views"
|
||||
"github.com/onsonr/sonr/internal/common"
|
||||
hwayorm "github.com/onsonr/sonr/internal/database/hwayorm"
|
||||
"github.com/onsonr/sonr/pkg/common"
|
||||
)
|
||||
|
||||
func RegisterHandler(g *echo.Group) {
|
||||
|
||||
Reference in New Issue
Block a user