Documentation ¶
Index ¶
- func FileUploadRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func PrepayRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, queryRoute string)
- func SimulatePrepayHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
- func UozPriceHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
- func UozSupplyHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
- type FileUploadReq
- type PrepayReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileUploadRequestHandlerFn ¶
func FileUploadRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
FileUploadRequestHandlerFn - http request handler for file uploading.
func PrepayRequestHandlerFn ¶ added in v0.4.0
func PrepayRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
PrepayRequestHandlerFn - http request handler for prepay.
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, queryRoute string)
RegisterRoutes registers sds-related REST handlers to a router
func SimulatePrepayHandlerFn ¶ added in v0.4.0
func SimulatePrepayHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
HTTP request handler to query the simulated purchased amt of prepay
func UozPriceHandlerFn ¶ added in v0.4.0
func UozPriceHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
HTTP request handler to query ongoing uoz price
func UozSupplyHandlerFn ¶ added in v0.4.0
func UozSupplyHandlerFn(cliCtx context.CLIContext, queryRoute string) http.HandlerFunc
HTTP request handler to query uoz supply details
Types ¶
Click to show internal directories.
Click to hide internal directories.