19 lines
379 B
Go
19 lines
379 B
Go
package rest
|
|
|
|
import (
|
|
"github.com/gorilla/mux"
|
|
|
|
"github.com/cosmos/cosmos-sdk/client"
|
|
)
|
|
|
|
// REST client flags
|
|
const (
|
|
RestClientID = "client-id"
|
|
RestRootHeight = "height"
|
|
)
|
|
|
|
// RegisterRoutes - Central function to define routes that get registered by the main application
|
|
func RegisterRoutes(clientCtx client.Context, r *mux.Router) {
|
|
registerQueryRoutes(clientCtx, r)
|
|
}
|