Documentation ¶
Index ¶
- func New(options map[string]interface{}) (collector.Client, error)
- type ActivityResponse
- type AuthResponse
- type Client
- func (umbrellaClient *Client) ClientType() collector.ClientType
- func (umbrellaClient *Client) Exit() (err error)
- func (umbrellaClient *Client) Poll(timestamp time.Time, resultsChannel chan<- string, pollOffset int) (count int, currentTimestamp time.Time, err error)
- func (umbrellaClient *Client) Stream(streamChannel chan<- string) (cancelFunc func(), err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActivityResponse ¶
type ActivityResponse struct { Meta interface{} `json:"meta"` Data []interface{} `json:"data"` }
type AuthResponse ¶
type Client ¶
type Client struct { collector.Client Options map[string]interface{} AccessToken string `json:"access_token"` // contains filtered or unexported fields }
func (*Client) ClientType ¶ added in v0.5.0
func (umbrellaClient *Client) ClientType() collector.ClientType
Click to show internal directories.
Click to hide internal directories.