analytics

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package analytics is a tiny package that makes it easy to send an analytic events to the server for tracking purposes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analytics

type Analytics struct {
	// contains filtered or unexported fields
}

Analytics represents a struct for submitting analytic tracking events to the server.

func New

func New(cfg *config.Config, s session.Session) (*Analytics, error)

New returns a new instance of Analytics

func (*Analytics) Track

func (a *Analytics) Track(ctx context.Context, name string, params *map[string]string) error

Track submits an event to the identity service

Jump to

Keyboard shortcuts

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