package rest import ( "github.com/gorilla/mux" "github.com/cosmos/cosmos-sdk/client" ) // REST Variable names const ( RestProposalID = "proposal-id" RestCommitteeID = "committee-id" RestVote = "vote" ) // RegisterRoutes - Central function to define routes that get registered by the main application func RegisterRoutes(cliCtx client.Context, r *mux.Router) { registerQueryRoutes(cliCtx, r) registerTxRoutes(cliCtx, r) }