Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Analytics ¶
type Analytics interface { // PageView sends a page view for given request and optional tags. PageView(*http.Request, map[string]string) error // Event sends a custom event for given request, name, duration, meta data, and optional tags. Event(*http.Request, string, int, map[string]string, map[string]string) error }
Analytics is the interface for an analytics provider.
type PirschAnalytics ¶
type PirschAnalytics struct {
// contains filtered or unexported fields
}
PirschAnalytics is the analytics provider for Pirsch (pirsch.io).
func NewPirschAnalytics ¶
func NewPirschAnalytics(clientID, clientSecret string) *PirschAnalytics
NewPirschAnalytics creates a new Analytics provider for Pirsch.
Click to show internal directories.
Click to hide internal directories.