Add info command

This commit is contained in:
bijingrui
2023-03-15 22:20:40 +08:00
committed by finley
parent 11c0385241
commit d0a7a215ba
7 changed files with 105 additions and 43 deletions

View File

@@ -8,6 +8,7 @@ type CmdLine = [][]byte
func makeRouter() map[string]CmdFunc {
routerMap := make(map[string]CmdFunc)
routerMap["ping"] = ping
routerMap["info"] = info
routerMap["prepare"] = execPrepare
routerMap["commit"] = execCommit