Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)
首先在`RegisterRoutes`函数中为模块定义REST客户端接口。路由都以模块名称开头,以防止命名空间与其他模块的路径冲突: RegisterRoutes - Central function to define routes that get registered by the main application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.