mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-01 01:32:13 +00:00
15 lines
376 B
Go
15 lines
376 B
Go
|
package rpc
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func initHandlers() {
|
||
|
http.HandleFunc("/blockchain", BlockchainInfoHandler)
|
||
|
http.HandleFunc("/block", BlockHandler)
|
||
|
http.HandleFunc("/broadcast_tx", BroadcastTxHandler)
|
||
|
http.HandleFunc("/gen_priv_account", GenPrivAccountHandler)
|
||
|
http.HandleFunc("/sign_send_tx", SignSendTxHandler)
|
||
|
http.HandleFunc("/accounts", ListAccountsHandler)
|
||
|
}
|