Versions in this module Expand all Collapse all v1 v1.4.0 Dec 16, 2022 Changes in this version + type Address struct + Attributes struct{ ... } + ID string + Type string + type AddressRelationship struct + Data Data + Links struct{ ... } v1.3.0 Oct 31, 2017 Changes in this version + const AccessTokenURL + const AuthorizationURL + const CampaignDefaultRelations + const EventCreatePledge + const EventDeletePledge + const EventUpdatePledge + const HeaderEventType + const HeaderSignature + const PledgeDefaultRelations + const UserDefaultRelations + func VerifySignature(message []byte, secret string, signature string) (bool, error) + func WithCursor(cursor string) requestOption + func WithFields(resource string, fields ...string) requestOption + func WithIncludes(include ...string) requestOption + func WithPageSize(size int) requestOption + type Campaign struct + Attributes struct{ ... } + ID string + Relationships struct{ ... } + Type string + type CampaignRelationship struct + Data Data + Links struct{ ... } + type CampaignResponse struct + Data []Campaign + Included Includes + type Card struct + Attributes struct{ ... } + ID string + Relationships struct{ ... } + Type string + type CategoriesRelationship struct + Data []Data + type Client struct + func NewClient(httpClient *http.Client) *Client + func (c *Client) Client() *http.Client + func (c *Client) FetchCampaign(opts ...requestOption) (*CampaignResponse, error) + func (c *Client) FetchPledges(campaignId string, opts ...requestOption) (*PledgeResponse, error) + func (c *Client) FetchUser(opts ...requestOption) (*UserResponse, error) + type CreatorRelationship struct + Data Data + Links struct{ ... } + type Data struct + ID string + Type string + type Error struct + Code int + CodeName string + Detail string + ID string + Status string + Title string + type ErrorResponse struct + Errors []Error + func (e ErrorResponse) Error() string + type Goal struct + Attributes struct{ ... } + ID string + Type string + type GoalsRelationship struct + Data []Data + type Includes struct + Items []interface{} + func (i *Includes) UnmarshalJSON(b []byte) error + type Meta struct + Count int + type NullTime struct + Valid bool + func (t *NullTime) UnmarshalJSON(data []byte) error + type PatronRelationship struct + Data Data + Links struct{ ... } + type Pledge struct + Attributes struct{ ... } + ID string + Relationships struct{ ... } + Type string + type PledgeResponse struct + Data []Pledge + Included Includes + Links struct{ ... } + Meta struct{ ... } + type PledgesRelationship struct + Data []Data + Links struct{ ... } + Meta Meta + type PostAggregationRelationship struct + Data Data + Links struct{ ... } + type Reward struct + Attributes struct{ ... } + ID string + Type string + type RewardRelationship struct + Data Data + Links struct{ ... } + type RewardsRelationship struct + Data []Data + type User struct + Attributes struct{ ... } + ID string + Relationships struct{ ... } + Type string + type UserRelationship struct + Data Data + Links struct{ ... } + type UserResponse struct + Data User + Included Includes + Links struct{ ... } + type WebhookPledge struct + Data Pledge