Versions in this module Expand all Collapse all v1 v1.0.0 Jan 9, 2019 Changes in this version + const ErrorBeforeAndAfter + const ErrorNoProposalFile + const ErrorNoUserIdentity + var AuthorizeVoteCmdHelpMsg = ... + var LoginCmdHelpMsg = ... + var LogoutCmdHelpMsg = ... + var NewProposalCmdHelpMsg = ... + var NewUserCmdHelpMsg = ... + func ConvertTicketHashes(h []string) ([][]byte, error) + func DigestSHA3(s string) string + func NewIdentity() (*identity.FullIdentity, error) + func Print(body interface{}, verbose, rawJSON bool) error + func PromptPassphrase() ([]byte, error) + func SetClient(client *client.Client) + func SetConfig(config *config.Config) + func SignMerkleRoot(files []v1.File, id *identity.FullIdentity) (string, error) + func VerifyProposal(p v1.ProposalRecord, serverPubKey string) error + type AuthorizeVoteCmd struct + Args struct{ ... } + func (cmd *AuthorizeVoteCmd) Execute(args []string) error + type CensorCommentCmd struct + Args struct{ ... } + func (cmd *CensorCommentCmd) Execute(args []string) error + type ChangePasswordCmd struct + Args struct{ ... } + func (cmd *ChangePasswordCmd) Execute(args []string) error + type ChangeUsernameCmd struct + Args struct{ ... } + func (cmd *ChangeUsernameCmd) Execute(args []string) error + type Cmds struct + AuthorizeVote AuthorizeVoteCmd + CensorComment CensorCommentCmd + ChangePassword ChangePasswordCmd + ChangeUsername ChangeUsernameCmd + CommentsLikes CommentsLikesCmd + EditProposal EditProposalCmd + EditUser EditUserCmd + Faucet FaucetCmd + GetComments GetCommentsCmd + GetPaywallPayment GetPaywallPaymentCmd + GetProposal GetProposalCmd + GetUnvetted GetUnvettedCmd + GetVetted GetVettedCmd + Help HelpCmd + Inventory InventoryCmd + Login LoginCmd + Logout LogoutCmd + ManageUser ManageUserCmd + Me MeCmd + NewComment NewCommentCmd + NewProposal NewProposalCmd + NewUser NewUserCmd + Policy PolicyCmd + ProposalPaywall ProposalPaywallCmd + ProposalVotes ProposalVotesCmd + RescanUserPayments RescanUserPaymentsCmd + ResetPassword ResetPasswordCmd + Secret SecretCmd + SetProposalStatus SetProposalStatusCmd + StartVote StartVoteCmd + Tally TallyCmd + UpdateUserKey UpdateUserKeyCmd + UserDetails UserDetailsCmd + UserProposals UserProposalsCmd + Users UsersCmd + VerifyUser VerifyUserCmd + VerifyUserPayment VerifyUserPaymentCmd + Version VersionCmd + Vote VoteCmd + VoteComment VoteCommentCmd + VoteStatus VoteStatusCmd + type CommentsLikesCmd struct + Args struct{ ... } + func (cmd *CommentsLikesCmd) Execute(args []string) error + type EditProposalCmd struct + Args struct{ ... } + Random bool + func (cmd *EditProposalCmd) Execute(args []string) error + type EditUserCmd struct + EmailNotifications *uint64 + func (cmd *EditUserCmd) Execute(args []string) error + type FaucetCmd struct + Args struct{ ... } + func (cmd *FaucetCmd) Execute(args []string) error + type GetCommentsCmd struct + Args struct{ ... } + func (cmd *GetCommentsCmd) Execute(args []string) error + type GetPaywallPaymentCmd struct + func (cmd *GetPaywallPaymentCmd) Execute(args []string) error + type GetProposalCmd struct + Args struct{ ... } + func (cmd *GetProposalCmd) Execute(args []string) error + type GetUnvettedCmd struct + After string + Before string + func (cmd *GetUnvettedCmd) Execute(args []string) error + type GetVettedCmd struct + After string + Before string + func (cmd *GetVettedCmd) Execute(args []string) error + type HelpCmd struct + Args struct{ ... } + func (cmd *HelpCmd) Execute(args []string) error + type InventoryCmd struct + func (cmd *InventoryCmd) Execute(args []string) error + type LoginCmd struct + Args struct{ ... } + func (cmd *LoginCmd) Execute(args []string) error + type LogoutCmd struct + func (cmd *LogoutCmd) Execute(args []string) error + type ManageUserCmd struct + Args struct{ ... } + func (cmd *ManageUserCmd) Execute(args []string) error + type MeCmd struct + func (cmd *MeCmd) Execute(args []string) error + type NewCommentCmd struct + Args struct{ ... } + func (cmd *NewCommentCmd) Execute(args []string) error + type NewProposalCmd struct + Args struct{ ... } + Random bool + func (cmd *NewProposalCmd) Execute(args []string) error + type NewUserCmd struct + Args struct{ ... } + NoSave bool + Random bool + Verify bool + func (cmd *NewUserCmd) Execute(args []string) error + type PolicyCmd struct + func (cmd *PolicyCmd) Execute(args []string) error + type ProposalPaywallCmd struct + func (cmd *ProposalPaywallCmd) Execute(args []string) error + type ProposalVotesCmd struct + Args struct{ ... } + func (cmd *ProposalVotesCmd) Execute(args []string) error + type RescanUserPaymentsCmd struct + Args struct{ ... } + func (cmd *RescanUserPaymentsCmd) Execute(args []string) error + type ResetPasswordCmd struct + Args struct{ ... } + func (cmd *ResetPasswordCmd) Execute(args []string) error + type SecretCmd struct + func (cmd *SecretCmd) Execute(args []string) error + type SetProposalStatusCmd struct + Args struct{ ... } + func (cmd *SetProposalStatusCmd) Execute(args []string) error + type StartVoteCmd struct + Args struct{ ... } + Duration string + PassPercentage string + QuorumPercentage string + func (cmd *StartVoteCmd) Execute(args []string) error + type TallyCmd struct + Args struct{ ... } + func (cmd *TallyCmd) Execute(args []string) error + type UpdateUserKeyCmd struct + NoSave bool + func (cmd *UpdateUserKeyCmd) Execute(args []string) error + type UserDetailsCmd struct + Args struct{ ... } + func (cmd *UserDetailsCmd) Execute(args []string) error + type UserProposalsCmd struct + Args struct{ ... } + func (cmd *UserProposalsCmd) Execute(args []string) error + type UsersCmd struct + Email string + Username string + func (cmd *UsersCmd) Execute(args []string) error + type VerifyUserCmd struct + Args struct{ ... } + func (cmd *VerifyUserCmd) Execute(args []string) error + type VerifyUserPaymentCmd struct + func (cmd *VerifyUserPaymentCmd) Execute(args []string) error + type VersionCmd struct + func (cmd *VersionCmd) Execute(args []string) error + type VoteCmd struct + Args struct{ ... } + func (cmd *VoteCmd) Execute(args []string) error + type VoteCommentCmd struct + Args struct{ ... } + func (cmd *VoteCommentCmd) Execute(args []string) error + type VoteStatusCmd struct + Args struct{ ... } + func (cmd *VoteStatusCmd) Execute(args []string) error