Skip to content

Commit

Permalink
remove unused code (#2074)
Browse files Browse the repository at this point in the history
  • Loading branch information
group-monkey committed Dec 2, 2022
1 parent 775f0e0 commit b0183d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 207 deletions.
201 changes: 0 additions & 201 deletions packages/api/database.go

This file was deleted.

6 changes: 0 additions & 6 deletions packages/api/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ func SetOtherCommonRoutes(api *mux.Router, m Mode) {
api.HandleFunc("/nodelistWhere/{name}", authRequire(getnodeListWhereHandler)).Methods("POST")
api.HandleFunc("/sumWhere/{name}", authRequire(getsumWhereHandler)).Methods("POST")
api.HandleFunc("/metrics/blockper/{node}", blocksCountByNodeHandler).Methods("GET")
// Open database data APIS
api.HandleFunc("/open/databaseInfo", getOpenDatabaseInfoHandler).Methods("POST")
api.HandleFunc("/open/tablesInfo", getOpenTablesInfoHandler).Methods("POST")
api.HandleFunc("/open/columnsInfo", getOpenColumnsInfoHandler).Methods("POST")
api.HandleFunc("/open/rowsInfo", getOpenRowsInfoHandler).Methods("POST")

}

func setOtherBlockChainRoutes(api *mux.Router, m Mode) {
Expand Down

0 comments on commit b0183d8

Please sign in to comment.