Versions in this module Expand all Collapse all v1 v1.5.0 Jun 29, 2024 v1.4.0 Aug 9, 2022 v1.3.1 Dec 20, 2021 v1.3.0 Nov 22, 2021 v1.2.0 Sep 26, 2021 v1.1.0 Aug 6, 2021 v1.0.1 May 24, 2021 v1.0.0 Apr 15, 2021 v0 v0.2.0 Mar 4, 2021 Changes in this version + const ContractorTypeProposal + const DCCVoteStatusFinished + const DCCVoteStatusInvalid + const DCCVoteStatusNotStarted + const DCCVoteStatusStarted + const ErrorStatusDCCDuplicateVote + const ErrorStatusDCCVoteEnded + const ErrorStatusDCCVoteStillLive + const ErrorStatusInvalidDCCAllVoteUserWeight + const ErrorStatusInvalidDCCVoteStatus + const ErrorStatusMissingCodeStatsUsername + const ErrorStatusTrackerNotStarted + const InvoiceListPageSize + const ProposalBillingListPageSize + const ProposalsMainnet + const ProposalsTestnet + const RouteActiveVotesDCC + const RouteCastVoteDCC + const RouteInvoices + const RouteProposalBillingDetails + const RouteProposalBillingSummary + const RouteStartVoteDCC + const RouteUserCodeStats + const RouteVoteDetailsDCC + type ActiveVote struct + type ActiveVoteReply struct + Votes []VoteTuple + type CastVote struct + PublicKey string + Signature string + Token string + UserID string + VoteBit string + type CastVoteReply struct + ClientSignature string + Error string + ErrorStatus cmsplugin.ErrorStatusT + Signature string + type CodeStats struct + CommitAdditions int64 + CommitDeletions int64 + Commits []string + MergedAdditions int64 + MergedDeletions int64 + Month int + PRs []string + Repository string + ReviewAdditions int64 + ReviewDeletions int64 + Reviews []string + UpdatedAdditions int64 + UpdatedDeletions int64 + Year int type DCCDetailsReply + VoteSummary VoteSummary + type DCCVoteStatusT int + type DCCWeight struct + UserID string + Weight int64 type InvoiceDetails + Version string type InvoiceRecord + Total int64 + type Invoices struct + EndTime int64 + Month uint16 + StartTime int64 + Status InvoiceStatusT + UserID string + Year uint16 + type InvoicesReply struct + Invoices []InvoiceRecord + type ProposalBillingDetails struct + Token string + type ProposalBillingDetailsReply struct + Details ProposalSpending + type ProposalBillingSummary struct + Count int + Offset int + type ProposalBillingSummaryReply struct + Proposals []ProposalSpending type ProposalLineItems + ContractorRate uint + type ProposalSpending struct + Invoices []InvoiceRecord + Title string + Token string + TotalBilled int64 + type StartVote struct + PublicKey string + Signature string + Vote Vote + type StartVoteReply struct + EndBlockHeight uint32 + StartBlockHash string + StartBlockHeight uint32 + UserWeights []string + type UserCodeStats struct + EndTime int64 + StartTime int64 + UserID string + type UserCodeStatsReply struct + RepoStats []CodeStats + type Vote struct + Duration uint32 + Mask uint64 + Options []VoteOption + PassPercentage uint32 + QuorumPercentage uint32 + Token string + type VoteDetails struct + Token string + type VoteDetailsReply struct + EndBlockHeight uint32 + PublicKey string + Signature string + StartBlockHash string + StartBlockHeight uint32 + UserWeights []string + Version uint32 + Vote string + type VoteOption struct + Bits uint64 + Description string + Id string + type VoteOptionResult struct + Option VoteOption + VotesReceived uint64 + type VoteResults struct + type VoteResultsReply struct + CastVotes []CastVote + StartVote StartVote + StartVoteReply StartVoteReply + type VoteSummary struct + Duration uint32 + EndHeight uint32 + PassPercentage uint32 + QuorumPercentage uint32 + Results []VoteOptionResult + Status DCCStatusT + UserWeights []DCCWeight + type VoteTuple struct + DCC DCCRecord + StartVote StartVote + StartVoteReply StartVoteReply v0.1.0 May 7, 2020 Changes in this version + const APIVersion + const ContractorTypeDirect + const ContractorTypeInvalid + const ContractorTypeNominee + const ContractorTypeRevoked + const ContractorTypeSubContractor + const ContractorTypeSupervisor + const ContractorTypeTemp + const ContractorTypeTempDeactivated + const DCCStatusActive + const DCCStatusApproved + const DCCStatusInvalid + const DCCStatusRejected + const DCCTypeInvalid + const DCCTypeIssuance + const DCCTypeRevocation + const DomainTypeDesign + const DomainTypeDeveloper + const DomainTypeDocumentation + const DomainTypeInvalid + const DomainTypeMarketing + const DomainTypeResearch + const ErrorStatusDCCNotFound + const ErrorStatusDuplicateEmail + const ErrorStatusDuplicatePaymentAddress + const ErrorStatusDuplicateSupportOppose + const ErrorStatusInvalidDCCComment + const ErrorStatusInvalidDCCContractorType + const ErrorStatusInvalidDCCNominee + const ErrorStatusInvalidDCCStatusTransition + const ErrorStatusInvalidDCCType + const ErrorStatusInvalidDatesRequested + const ErrorStatusInvalidExchangeRate + const ErrorStatusInvalidInvoiceEditMonthYear + const ErrorStatusInvalidInvoiceMonthYear + const ErrorStatusInvalidInvoiceStatusTransition + const ErrorStatusInvalidLaborExpense + const ErrorStatusInvalidLineItemType + const ErrorStatusInvalidMonthYearRequest + const ErrorStatusInvalidNominatingDomain + const ErrorStatusInvalidPaymentAddress + const ErrorStatusInvalidSubUserIDLineItem + const ErrorStatusInvalidSupervisorUser + const ErrorStatusInvalidSupportOppose + const ErrorStatusInvalidTypeSubHoursLineItem + const ErrorStatusInvalidUserDCC + const ErrorStatusInvalidUserNewInvoice + const ErrorStatusInvoiceDuplicate + const ErrorStatusInvoiceInvalidRate + const ErrorStatusInvoiceMalformedContact + const ErrorStatusInvoiceMissingContact + const ErrorStatusInvoiceMissingName + const ErrorStatusInvoiceMissingRate + const ErrorStatusInvoiceNotFound + const ErrorStatusInvoiceRequireLineItems + const ErrorStatusMalformedDCC + const ErrorStatusMalformedDCCFile + const ErrorStatusMalformedDescription + const ErrorStatusMalformedDomain + const ErrorStatusMalformedInvoiceFile + const ErrorStatusMalformedLineItem + const ErrorStatusMalformedLocation + const ErrorStatusMalformedName + const ErrorStatusMalformedProposalToken + const ErrorStatusMalformedSponsorStatement + const ErrorStatusMalformedSubdomain + const ErrorStatusMissingSubUserIDLineItem + const ErrorStatusReasonNotProvided + const ErrorStatusUserIsAuthor + const ErrorStatusWrongDCCStatus + const ErrorStatusWrongInvoiceStatus + const InvoiceInputVersion + const InvoiceStatusApproved + const InvoiceStatusDisputed + const InvoiceStatusInvalid + const InvoiceStatusNew + const InvoiceStatusNotFound + const InvoiceStatusPaid + const InvoiceStatusRejected + const InvoiceStatusUpdated + const LineItemTypeExpense + const LineItemTypeInvalid + const LineItemTypeLabor + const LineItemTypeMisc + const LineItemTypeSubHours + const PaymentStatusInvalid + const PaymentStatusPaid + const PaymentStatusWatching + const PolicyInvoiceCommentChar + const PolicyInvoiceFieldDelimiterChar + const PolicyInvoiceLineItemCount + const PolicyMaxContactLength + const PolicyMaxImageSize + const PolicyMaxImages + const PolicyMaxLineItemColLength + const PolicyMaxLocationLength + const PolicyMaxMDSize + const PolicyMaxMDs + const PolicyMaxNameLength + const PolicyMaxSponsorStatementLength + const PolicyMinContactLength + const PolicyMinLineItemColLength + const PolicyMinLocationLength + const PolicyMinNameLength + const PolicyMinSponsorStatementLength + const RouteAdminInvoices + const RouteAdminUserInvoices + const RouteCMSUsers + const RouteDCCComments + const RouteDCCDetails + const RouteEditInvoice + const RouteGeneratePayouts + const RouteGetDCCs + const RouteInviteNewUser + const RouteInvoiceComments + const RouteInvoiceDetails + const RouteInvoiceExchangeRate + const RouteInvoicePayouts + const RouteManageCMSUser + const RouteNewCommentDCC + const RouteNewDCC + const RouteNewInvoice + const RoutePayInvoices + const RouteProposalBilling + const RouteProposalOwner + const RouteRegisterUser + const RouteSetDCCStatus + const RouteSetInvoiceStatus + const RouteSupportOpposeDCC + const RouteUserInvoices + const RouteUserSubContractors + var APIRoute = fmt.Sprintf("/v%v", APIVersion) + var ErrorStatus = map[www.ErrorStatusT]string + var PolicyCMSContactSupportedChars = []string + var PolicyCMSNameLocationSupportedChars = []string + var PolicyCMSSupportedLineItemTypes = []AvailableLineItemType + var PolicyInvoiceFieldSupportedChars = []string + var PolicySponsorStatementSupportedChars = []string + var PolicySupportedCMSDomains = []AvailableDomain + var PolicyValidMimeTypes = []string + type AbridgedCMSUser struct + ContractorType ContractorTypeT + Domain DomainTypeT + ID string + Username string + type AdminInvoices struct + Month uint16 + Status InvoiceStatusT + Year uint16 + type AdminInvoicesReply struct + Invoices []InvoiceRecord + type AdminUserInvoices struct + UserID string + type AdminUserInvoicesReply struct + Invoices []InvoiceRecord + type AvailableDomain struct + Description string + Type DomainTypeT + type AvailableLineItemType struct + Description string + Type LineItemTypeT + type CMSManageUser struct + ContractorType ContractorTypeT + Domain DomainTypeT + ProposalsOwned []string + SupervisorUserIDs []string + UserID string + type CMSManageUserReply struct + type CMSUsers struct + ContractorType ContractorTypeT + Domain DomainTypeT + type CMSUsersReply struct + Users []AbridgedCMSUser + type ContractorTypeT int + type DCCDetails struct + Token string + type DCCDetailsReply struct + DCC DCCRecord + type DCCInput struct + ContractorType ContractorTypeT + Domain DomainTypeT + NomineeUserID string + SponsorStatement string + Type DCCTypeT + type DCCRecord struct + CensorshipRecord www.CensorshipRecord + DCC DCCInput + File www.File + NomineeUsername string + OppositionUserIDs []string + OppositionUsernames []string + PublicKey string + Signature string + SponsorUserID string + SponsorUsername string + Status DCCStatusT + StatusChangeReason string + SupportUserIDs []string + SupportUsernames []string + TimeReviewed int64 + TimeSubmitted int64 + Timestamp int64 + type DCCStatusT int + type DCCTypeT int + type DomainTypeT int + type EditInvoice struct + Files []www.File + PublicKey string + Signature string + Token string + type EditInvoiceReply struct + Invoice InvoiceRecord + type EditUser struct + ContractorContact string + ContractorLocation string + ContractorName string + GitHubName string + MatrixName string + type EditUserReply struct + type ErrorStatusT int + type GeneratePayouts struct + type GeneratePayoutsReply struct + Payouts []Payout + type GetDCCs struct + Status DCCStatusT + type GetDCCsReply struct + DCCs []DCCRecord + type InviteNewUser struct + Email string + Temporary bool + type InviteNewUserReply struct + VerificationToken string + type InvoiceDetails struct + Token string + type InvoiceDetailsReply struct + Invoice InvoiceRecord + Payout Payout + type InvoiceExchangeRate struct + Month uint + Year uint + type InvoiceExchangeRateReply struct + ExchangeRate uint + type InvoiceInput struct + ContractorContact string + ContractorLocation string + ContractorName string + ContractorRate uint + ExchangeRate uint + LineItems []LineItemsInput + Month uint + PaymentAddress string + Version uint + Year uint + type InvoicePayouts struct + EndTime int64 + StartTime int64 + type InvoicePayoutsReply struct + Invoices []InvoiceRecord + type InvoiceRecord struct + CensorshipRecord www.CensorshipRecord + Files []www.File + Input InvoiceInput + Payment PaymentInformation + PublicKey string + Signature string + Status InvoiceStatusT + StatusChangeReason string + Timestamp int64 + UserID string + Username string + Version string + type InvoiceStatusT int + type LineItemTypeT int + type LineItemsInput struct + Description string + Domain string + Expenses uint + Labor uint + ProposalToken string + SubRate uint + SubUserID string + Subdomain string + Type LineItemTypeT + type NewDCC struct + File www.File + PublicKey string + Signature string + type NewDCCReply struct + CensorshipRecord www.CensorshipRecord + type NewInvoice struct + Files []www.File + Month uint + PublicKey string + Signature string + Year uint + type NewInvoiceReply struct + CensorshipRecord www.CensorshipRecord + type PayInvoices struct + type PayInvoicesReply struct + type PaymentInformation struct + Address string + AmountNeeded dcrutil.Amount + AmountReceived dcrutil.Amount + Status PaymentStatusT + TimeLastUpdated int64 + TimeStarted int64 + Token string + TxIDs []string + type PaymentStatusT int + type Payout struct + Address string + ApprovedTime int64 + ContractorName string + ContractorRate uint + DCRTotal dcrutil.Amount + ExchangeRate uint + ExpenseTotal uint + LaborTotal uint + Month uint + Token string + Total uint + Username string + Year uint + type PolicyReply struct + CMSContactSupportedChars []string + CMSNameLocationSupportedChars []string + CMSStatementSupportedChars []string + CMSSupportedDomains []AvailableDomain + CMSSupportedLineItemTypes []AvailableLineItemType + InvoiceCommentChar rune + InvoiceFieldDelimiterChar rune + InvoiceFieldSupportedChars []string + InvoiceLineItemCount uint + MaxContactLength uint + MaxImageSize uint + MaxImages uint + MaxLineItemColLength uint + MaxLocationLength uint + MaxMDSize uint + MaxMDs uint + MaxNameLength uint + MaxUsernameLength uint + MinContactLength uint + MinLineItemColLength uint + MinLocationLength uint + MinNameLength uint + MinPasswordLength uint + MinUsernameLength uint + UsernameSupportedChars []string + ValidMIMETypes []string + type ProposalBilling struct + Token string + type ProposalBillingReply struct + BilledLineItems []ProposalLineItems + type ProposalLineItems struct + LineItem LineItemsInput + Month int + UserID string + Username string + Year int + type ProposalOwner struct + ProposalToken string + type ProposalOwnerReply struct + Users []AbridgedCMSUser + type RegisterUser struct + Email string + Password string + PublicKey string + Username string + VerificationToken string + type RegisterUserReply struct + type SetDCCStatus struct + PublicKey string + Reason string + Signature string + Status DCCStatusT + Token string + type SetDCCStatusReply struct + type SetInvoiceStatus struct + PublicKey string + Reason string + Signature string + Status InvoiceStatusT + Token string + type SetInvoiceStatusReply struct + Invoice InvoiceRecord + type SupportOpposeDCC struct + PublicKey string + Signature string + Token string + Vote string + type SupportOpposeDCCReply struct + type User struct + Admin bool + ContractorContact string + ContractorLocation string + ContractorName string + ContractorType ContractorTypeT + Deactivated bool + Domain DomainTypeT + Email string + EmailNotifications uint64 + FailedLoginAttempts uint64 + GitHubName string + ID string + Identities []www.UserIdentity + LastLoginTime int64 + Locked bool + MatrixName string + NewUserVerificationExpiry int64 + NewUserVerificationToken []byte + ProposalsOwned []string + ResetPasswordVerificationExpiry int64 + ResetPasswordVerificationToken []byte + SupervisorUserIDs []string + UpdateKeyVerificationExpiry int64 + UpdateKeyVerificationToken []byte + Username string + type UserDetails struct + UserID string + type UserDetailsReply struct + User User + type UserInvoices struct + type UserInvoicesReply struct + Invoices []InvoiceRecord + type UserSubContractors struct + type UserSubContractorsReply struct + Users []User