Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
process
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
process
Commits
c02e9e3c
Commit
c02e9e3c
authored
Mar 07, 2025
by
贾浩@五瓣科技
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update mod name
parent
b5be2b39
Pipeline
#832
canceled with stages
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
25 additions
and
25 deletions
+25
-25
order_handler.go
api/handlers/order_handler.go
+5
-5
router.go
api/router/router.go
+1
-1
main.go
cmd/api/main.go
+3
-3
account.go
database/account.go
+2
-2
database.go
database/database.go
+2
-2
order.go
database/order.go
+2
-2
agent.go
engine/agent.go
+1
-1
engine.go
engine/engine.go
+4
-4
order.go
engine/order.go
+3
-3
process.go
engine/process.go
+1
-1
go.mod
go.mod
+1
-1
No files found.
api/handlers/order_handler.go
View file @
c02e9e3c
...
...
@@ -8,11 +8,11 @@ import (
"github.com/gin-gonic/gin"
apiTypes
"github.com/exchain/
orderbook
/api/types"
"github.com/exchain/
orderbook
/engine"
"github.com/exchain/
orderbook
/orderbook"
"github.com/exchain/
orderbook
/types"
"github.com/exchain/
orderbook
/utils"
apiTypes
"github.com/exchain/
process
/api/types"
"github.com/exchain/
process
/engine"
"github.com/exchain/
process
/orderbook"
"github.com/exchain/
process
/types"
"github.com/exchain/
process
/utils"
)
type
OrderHandler
struct
{
...
...
api/router/router.go
View file @
c02e9e3c
package
router
import
(
"github.com/exchain/
orderbook
/api/handlers"
"github.com/exchain/
process
/api/handlers"
"github.com/gin-gonic/gin"
)
...
...
cmd/api/main.go
View file @
c02e9e3c
...
...
@@ -3,9 +3,9 @@ package main
import
(
"log"
"github.com/exchain/
orderbook
/api/handlers"
"github.com/exchain/
orderbook
/api/router"
"github.com/exchain/
orderbook
/engine"
"github.com/exchain/
process
/api/handlers"
"github.com/exchain/
process
/api/router"
"github.com/exchain/
process
/engine"
)
func
main
()
{
...
...
database/account.go
View file @
c02e9e3c
...
...
@@ -5,8 +5,8 @@ import (
"encoding/gob"
"sync"
"github.com/exchain/
orderbook
/leveldb"
"github.com/exchain/
orderbook
/types"
"github.com/exchain/
process
/leveldb"
"github.com/exchain/
process
/types"
"github.com/ethereum/go-ethereum/common"
"github.com/holiman/uint256"
...
...
database/database.go
View file @
c02e9e3c
...
...
@@ -5,8 +5,8 @@ import (
"errors"
"fmt"
"github.com/exchain/
orderbook
/leveldb"
"github.com/exchain/
orderbook
/orderbook"
"github.com/exchain/
process
/leveldb"
"github.com/exchain/
process
/orderbook"
"github.com/ethereum/go-ethereum/common"
goleveldb
"github.com/syndtr/goleveldb/leveldb"
...
...
database/order.go
View file @
c02e9e3c
package
database
import
(
"github.com/exchain/
orderbook
/leveldb"
"github.com/exchain/
orderbook
/orderbook"
"github.com/exchain/
process
/leveldb"
"github.com/exchain/
process
/orderbook"
)
type
OrderObject
struct
{
...
...
engine/agent.go
View file @
c02e9e3c
...
...
@@ -3,7 +3,7 @@ package engine
import
(
"errors"
"github.com/exchain/
orderbook
/types"
"github.com/exchain/
process
/types"
"github.com/ethereum/go-ethereum/common"
"github.com/holiman/uint256"
...
...
engine/engine.go
View file @
c02e9e3c
...
...
@@ -3,10 +3,10 @@ package engine
import
(
"sync"
"github.com/exchain/
orderbook
/database"
"github.com/exchain/
orderbook
/leveldb"
"github.com/exchain/
orderbook
/orderbook"
"github.com/exchain/
orderbook
/types"
"github.com/exchain/
process
/database"
"github.com/exchain/
process
/leveldb"
"github.com/exchain/
process
/orderbook"
"github.com/exchain/
process
/types"
"github.com/exchain/go-exchain/exchain"
"github.com/exchain/go-exchain/exchain/chaindb"
...
...
engine/order.go
View file @
c02e9e3c
...
...
@@ -3,9 +3,9 @@ package engine
import
(
"errors"
apiTypes
"github.com/exchain/
orderbook
/api/types"
"github.com/exchain/
orderbook
/orderbook"
"github.com/exchain/
orderbook
/types"
apiTypes
"github.com/exchain/
process
/api/types"
"github.com/exchain/
process
/orderbook"
"github.com/exchain/
process
/types"
"github.com/ethereum/go-ethereum/common"
"github.com/holiman/uint256"
...
...
engine/process.go
View file @
c02e9e3c
...
...
@@ -3,7 +3,7 @@ package engine
import
(
"errors"
"github.com/exchain/
orderbook
/types"
"github.com/exchain/
process
/types"
"github.com/ethereum/go-ethereum/common"
nebulav1
"github.com/exchain/go-exchain/exchain/protocol/gen/go/nebula/v1"
...
...
go.mod
View file @
c02e9e3c
module github.com/exchain/
orderbook
module github.com/exchain/
process
go 1.23.3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment