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 registers tombstone-related REST handlers to a router
func SetRecordHandlerFn ¶
func SetRecordHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
SetRecordHandlerFn set record
Types ¶
type SetRecordReq ¶
type SetRecordReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Name string `json:"name"` Born time.Time `json:"born"` Died time.Time `json:"died"` Memo string `json:"memo"` Tags []string `json:"tags"` Recorder sdk.AccAddress `json:"recorder"` }
SetRecordReq TX body
Click to show internal directories.
Click to hide internal directories.