Versions in this module Expand all Collapse all v1 v1.0.0 Jan 9, 2019 Changes in this version + func PrettyPrintJSON(v interface{}) error + type Client struct + func New(cfg *config.Config) (*Client, error) + func (c *Client) ActiveVotes() (*v1.ActiveVoteReply, error) + func (c *Client) AuthorizeVote(av *v1.AuthorizeVote) (*v1.AuthorizeVoteReply, error) + func (c *Client) CastVotes(b *v1.Ballot) (*v1.BallotReply, error) + func (c *Client) CensorComment(cc *v1.CensorComment) (*v1.CensorCommentReply, error) + func (c *Client) ChangePassword(cp *v1.ChangePassword) (*v1.ChangePasswordReply, error) + func (c *Client) ChangeUsername(cu *v1.ChangeUsername) (*v1.ChangeUsernameReply, error) + func (c *Client) CommittedTickets(ct *walletrpc.CommittedTicketsRequest) (*walletrpc.CommittedTicketsResponse, error) + func (c *Client) EditProposal(ep *v1.EditProposal) (*v1.EditProposalReply, error) + func (c *Client) EditUser(eu *v1.EditUser) (*v1.EditUserReply, error) + func (c *Client) GetAllUnvetted(gau *v1.GetAllUnvetted) (*v1.GetAllUnvettedReply, error) + func (c *Client) GetAllVetted(gav *v1.GetAllVetted) (*v1.GetAllVettedReply, error) + func (c *Client) GetComments(token string) (*v1.GetCommentsReply, error) + func (c *Client) LikeComment(lc *v1.LikeComment) (*v1.LikeCommentReply, error) + func (c *Client) LoadWalletClient() error + func (c *Client) Login(l *v1.Login) (*v1.LoginReply, error) + func (c *Client) Logout() (*v1.LogoutReply, error) + func (c *Client) ManageUser(mu *v1.ManageUser) (*v1.ManageUserReply, error) + func (c *Client) Me() (*v1.LoginReply, error) + func (c *Client) NewComment(nc *v1.NewComment) (*v1.NewCommentReply, error) + func (c *Client) NewProposal(np *v1.NewProposal) (*v1.NewProposalReply, error) + func (c *Client) NewUser(nu *v1.NewUser) (*v1.NewUserReply, error) + func (c *Client) Policy() (*v1.PolicyReply, error) + func (c *Client) ProposalDetails(token string, pd *v1.ProposalsDetails) (*v1.ProposalDetailsReply, error) + func (c *Client) ProposalPaywallDetails(ppd *v1.ProposalPaywallDetails) (*v1.ProposalPaywallDetailsReply, error) + func (c *Client) ProposalPaywallPayment() (*v1.ProposalPaywallPaymentReply, error) + func (c *Client) ProposalVotes(token string) (*v1.VoteResultsReply, error) + func (c *Client) ResetPassword(rp *v1.ResetPassword) (*v1.ResetPasswordReply, error) + func (c *Client) Secret() (*v1.UserError, error) + func (c *Client) SetProposalStatus(sps *v1.SetProposalStatus) (*v1.SetProposalStatusReply, error) + func (c *Client) SignMessages(sm *walletrpc.SignMessagesRequest) (*walletrpc.SignMessagesResponse, error) + func (c *Client) StartVote(sv *v1.StartVote) (*v1.StartVoteReply, error) + func (c *Client) UpdateUserKey(uuk *v1.UpdateUserKey) (*v1.UpdateUserKeyReply, error) + func (c *Client) UserCommentsLikes(token string) (*v1.UserCommentsLikesReply, error) + func (c *Client) UserDetails(userID string) (*v1.UserDetailsReply, error) + func (c *Client) UserPaymentsRescan(upr *v1.UserPaymentsRescan) (*v1.UserPaymentsRescanReply, error) + func (c *Client) UserProposals(up *v1.UserProposals) (*v1.UserProposalsReply, error) + func (c *Client) Users(u *v1.Users) (*v1.UsersReply, error) + func (c *Client) VerifyNewUser(vnu *v1.VerifyNewUser) (*v1.VerifyNewUserReply, error) + func (c *Client) VerifyUpdateUserKey(vuuk *v1.VerifyUpdateUserKey) (*v1.VerifyUpdateUserKeyReply, error) + func (c *Client) VerifyUserPayment() (*v1.VerifyUserPaymentReply, error) + func (c *Client) Version() (*v1.VersionReply, error) + func (c *Client) VoteStatus(token string) (*v1.VoteStatusReply, error) + func (c *Client) WalletAccounts() (*walletrpc.AccountsResponse, error)