zendesk

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(options map[string]interface{}) (collector.Client, error)

New will initialize and return an authorized Client

Types

type AuditResponse

type AuditResponse struct {
	AuditLogs    []json.RawMessage `json:"audit_logs"`
	NextPage     string            `json:"next_page"`
	PreviousPage string            `json:"previous_page"`
	Count        int               `json:"count"`
}

type Client

type Client struct {
	collector.Client
	Options map[string]interface{}
	Domain  string `json:"domain"`
	// contains filtered or unexported fields
}

func (*Client) ClientType

func (zendeskClient *Client) ClientType() collector.ClientType

func (*Client) Exit

func (zendeskClient *Client) Exit() (err error)

func (*Client) Poll

func (zendeskClient *Client) Poll(timestamp time.Time, resultsChannel chan<- string, pollOffset int) (count int, currentTimestamp time.Time, err error)

func (*Client) Stream

func (zendeskClient *Client) Stream(streamChannel chan<- string) (cancelFunc func(), err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL