mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-17 02:47:51 +01:00
New function to delete account. Create deletion functions for blockchain and warehouse. Add function /account/delete to webapi. Close #42
This commit is contained in:
@@ -41,7 +41,8 @@ func Start(ListenAddresses []string, UseSSL bool, CertificateFile, CertificateKe
|
||||
|
||||
Router.HandleFunc("/test", apiTest).Methods("GET")
|
||||
Router.HandleFunc("/status", apiStatus).Methods("GET")
|
||||
Router.HandleFunc("/peer/self", apiPeerSelf).Methods("GET")
|
||||
Router.HandleFunc("/account/info", apiAccountInfo).Methods("GET")
|
||||
Router.HandleFunc("/account/delete", apiAccountDelete).Methods("GET")
|
||||
Router.HandleFunc("/blockchain/header", apiBlockchainHeaderFunc).Methods("GET")
|
||||
Router.HandleFunc("/blockchain/append", apiBlockchainAppend).Methods("POST")
|
||||
Router.HandleFunc("/blockchain/read", apiBlockchainRead).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user