Documentation ¶
Overview ¶
Package client specifies the client for the gov module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIHandlerFn ¶
CLIHandlerFn defines the cli handler.
type ProposalHandler ¶
type ProposalHandler struct { CLIHandler CLIHandlerFn RESTHandler RESTHandlerFn }
ProposalHandler is the combined type for a proposal handler for both cli and rest.
func NewProposalHandler ¶
func NewProposalHandler(cliHandler CLIHandlerFn, restHandler RESTHandlerFn) ProposalHandler
NewProposalHandler creates a new ProposalHandler object.
type RESTHandlerFn ¶
type RESTHandlerFn func(context.CLIContext) rest.ProposalRESTHandler
RESTHandlerFn defines the rest handler.
Directories ¶
Path | Synopsis |
---|---|
Package rest defines the RESTful service for the gov module.
|
Package rest defines the RESTful service for the gov module. |
Package utils defines the utils for client services for the gov module.
|
Package utils defines the utils for client services for the gov module. |
Click to show internal directories.
Click to hide internal directories.