Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Categories ¶
type Categories struct { Categories []Category `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Categories
type Category ¶
type Category struct { Name string `json:"name"` SortName string `json:"sort_name"` ID int `json:"id"` ShortName string `json:"shortname"` }
Category
type Comment ¶
type Comment struct { MemberID int `json:"member_id"` MemberName string `json:"member_name"` CommentID int `json:"event_comment_id"` EventID string `json:"event_id"` GroupID int `json:"group_id"` CommentText string `json:"comment"` }
Comment is a meetup event comment
type Comments ¶
type Comments struct { Comments []Comment `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Comments wraps a slice of Event for unmarshalling the results array. It also contains meta fields from the response.
type Event ¶
type Event struct { ID string `json:"id"` Name string `json:"name"` Link string `json:"link"` YesRSVP int `json:"yes_rsvp_count"` Waitlist int `json:"waitlist_count"` Group Group `json:"group"` Venue Venue `json:"venue"` }
Event describes a meetup event and pertinent information such as id, comments, etc.
type Events ¶
type Events struct { Events []Event `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Events wraps a slice of Event for unmarshalling the results array. It also contains meta fields from the response.
type Group ¶
type Group struct { Name string `json:"name"` URLName string `json:"urlname"` ID int `json:"id"` Link string `json:"link"` MemberCount int `json:"members"` Organizer Member `json:"organizer"` }
Group describes a meetup group
type Groups ¶
type Groups struct { Groups []Group `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Groups wraps a slice of Group for unmarshalling the results array. It also contains meta fields from the response.
type Member ¶
type Member struct { Name string `json:"name"` Status string `json:"status"` ID int `json:"id"` Topics []Topic `json:"topics"` }
Member represents a Meetup group member
type Members ¶
type Members struct { Members []Member `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Members wraps a slice of Member and also contains meta-fields from the meetup API response
type Rating ¶
type Rating struct { MemberID int `json:"member_id"` MemberName string `json:"member_name"` EventID string `json:"event_id"` GroupID int `json:"group_id"` Rating int `json:"rating"` RatingCount int `json:"rating_count"` }
Rating is submitted for a particular meetup event by a member
type Ratings ¶
type Ratings struct { Ratings []Rating `json:"results"` TotalCount int `json:"total_count"` Count int `json:"count"` }
Ratings wraps a slice of Rating for unmarshalling the results array. It also contains meta fields from the response.