Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SampleStreamBackfillMinutes ¶ added in v0.11.8
type SampleStreamBackfillMinutes int
func (SampleStreamBackfillMinutes) String ¶ added in v0.11.8
func (v SampleStreamBackfillMinutes) String() string
func (SampleStreamBackfillMinutes) Valid ¶ added in v0.11.8
func (v SampleStreamBackfillMinutes) Valid() bool
type SampleStreamInput ¶
type SampleStreamInput struct { // Query parameters BackfillMinutes SampleStreamBackfillMinutes Expansions fields.ExpansionList MediaFields fields.MediaFieldList PlaceFields fields.PlaceFieldList PollFields fields.PollFieldList TweetFields fields.TweetFieldList UserFields fields.UserFieldList // contains filtered or unexported fields }
func (*SampleStreamInput) AccessToken ¶
func (p *SampleStreamInput) AccessToken() string
func (*SampleStreamInput) ParameterMap ¶
func (p *SampleStreamInput) ParameterMap() map[string]string
func (*SampleStreamInput) ResolveEndpoint ¶
func (p *SampleStreamInput) ResolveEndpoint(endpointBase string) string
func (*SampleStreamInput) SetAccessToken ¶
func (p *SampleStreamInput) SetAccessToken(token string)
type SampleStreamOutput ¶
type SampleStreamOutput struct { Data resources.Tweet `json:"data"` Includes struct { Users []resources.User `json:"users,omitempty"` Tweets []resources.Tweet `json:"tweets,omitempty"` Places []resources.Place `json:"places,omitempty"` Media []resources.Media `json:"media,omitempty"` Polls []resources.Poll `json:"polls,omitempty"` } `json:"includes,omitempty"` Errors []resources.PartialError `json:"errors,omitempty"` }
func (*SampleStreamOutput) HasPartialError ¶
func (r *SampleStreamOutput) HasPartialError() bool
Click to show internal directories.
Click to hide internal directories.