Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIHandlerFn ¶ added in v0.43.1
function to create the cli handler
type ProposalHandler ¶ added in v0.43.1
type ProposalHandler struct { CLIHandler CLIHandlerFn RESTHandler RESTHandlerFn }
The combined type for a proposal handler for both cli and rest
func NewProposalHandler ¶ added in v0.43.1
func NewProposalHandler(cliHandler CLIHandlerFn, restHandler RESTHandlerFn) ProposalHandler
NewProposalHandler creates a new ProposalHandler object
type RESTHandlerFn ¶ added in v0.43.1
type RESTHandlerFn func(client.Context) rest.ProposalRESTHandler
function to create the rest handler
Click to show internal directories.
Click to hide internal directories.