Documentation
¶
Overview ¶
Package telefork contains Telefork client and processor for sending batches of events to Telefork.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the Telefork Service client.
func NewClientWithHTTPClient ¶
NewClientWithHTTPClient returns a new Telefork client with the given HTTP client.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor wraps the Telefork Client for use in a Tracker.
func NewProcessor ¶
NewProcessor returns a new Telefork Processor.
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is an http.RoundTripper that adds the X-OUTREACH-CLIENT-APP-ID and X-OUTREACH-CLIENT-LOGGING headers.
func NewTransport ¶
func NewTransport(appName, apiKey string, rt http.RoundTripper) *Transport
NewTransport returns a new Transport.
Click to show internal directories.
Click to hide internal directories.