Documentation ¶
Index ¶
- func GetAccountProposalsVoteHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
- func GetProposalHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
- func GetProposalVotesHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
- func GetProposalsHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
- func RegisterRoutes(ctx context.CoreContext, r *mux.Router, cdc *wire.Codec, kb keys.Keybase)
- func SubmitProposalHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
- func SubmitVoteHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAccountProposalsVoteHandlerFn ¶
func GetAccountProposalsVoteHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
GetAccountProposalsVoteHandlerFn - http request handler to get an account vote on a proposal
func GetProposalHandlerFn ¶
func GetProposalHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
GetProposalHandlerFn - http request handler to get a proposal
func GetProposalVotesHandlerFn ¶
func GetProposalVotesHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
GetProposalVotesHandlerFn - http request handler to get all proposals from an account
func GetProposalsHandlerFn ¶
func GetProposalsHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
GetProposalsHandlerFn - http request handler to get a proposal
func RegisterRoutes ¶
RegisterRoutes - Central function to define routes that get registered by the main application
func SubmitProposalHandlerFn ¶
func SubmitProposalHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
SubmitProposalHandlerFn - http request handler to create a proposal
func SubmitVoteHandlerFn ¶
func SubmitVoteHandlerFn(cdc *wire.Codec, kb keys.Keybase, ctx context.CoreContext) http.HandlerFunc
SubmitVoteHandlerFn - http request handler to vote on a proposal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.