mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-28 09:15:24 +00:00
18 lines
337 B
Go
18 lines
337 B
Go
|
package rest
|
||
|
|
||
|
import (
|
||
|
"github.com/gorilla/mux"
|
||
|
|
||
|
"github.com/cosmos/cosmos-sdk/client/context"
|
||
|
)
|
||
|
|
||
|
// REST variable names
|
||
|
// nolint
|
||
|
const ()
|
||
|
|
||
|
// RegisterRoutes registers swap-related REST handlers to a router
|
||
|
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router) {
|
||
|
registerQueryRoutes(cliCtx, r)
|
||
|
registerTxRoutes(cliCtx, r)
|
||
|
}
|