Versions in this module Expand all Collapse all v1 v1.0.0 Nov 23, 2020 Changes in this version + type Client struct + func (c *Client) CheckSubscription(listID string, email string) (*MemberResponse, error) + func (c *Client) GetBaseURL() *url.URL + func (c *Client) RemoveSubscription(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + func (c *Client) SetBaseURL(baseURL *url.URL) + func (c *Client) Subscribe(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + func (c *Client) UnSubscribe(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + func (c *Client) UpdateSubscription(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + type ClientInterface interface + CheckSubscription func(listID string, email string) (*MemberResponse, error) + GetBaseURL func() *url.URL + RemoveSubscription func(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + SetBaseURL func(baseURL *url.URL) + Subscribe func(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + UnSubscribe func(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + UpdateSubscription func(listID string, email string, mergeFields map[string]interface{}) (*MemberResponse, error) + func NewClient(apiKey string, httpClient *http.Client) (ClientInterface, error) + type ErrorResponse struct + Detail string + Errors []SubError + Status int + Title string + Type string + func (e ErrorResponse) Error() string + type MemberResponse struct + EmailAddress string + EmailType string + ID string + IPOpt string + IPSignup string + LastChanged string + ListID string + MemberRating uint + MergeFields map[string]interface{} + Status string + TimestampOpt string + TimestampSignup string + UniqueEmailID string + VIP bool + type SubError struct + Field string + Message string Incompatible versions in this module v3.1.0+incompatible Nov 23, 2020 Other modules containing this package github.com/Alexvallance/go-mailchimp/v3